I cloned this repo from:
git clone https://github.com/LeMaker/WiringBP.git -b bananapi
Thanks!
Just added few scripts to control the computer on/off buffer over the web interface: startSinatra.rb views
I added the script to the /etc/rc.local in order to autostart references for the web pages to help: https://bbs.archlinux.org/viewtopic.php?id=140993 http://infovore.org/archives/2013/08/09/running-scripts-on-startup-with-your-raspberry-pi/ https://www.digitalocean.com/community/tutorials/how-to-install-and-get-started-with-sinatra-on-your-system-or-vps https://github.com/LeMaker/RPi.GPIO_BP