This is a modified WiringPi for Banana Pro/Pi. We call it WiringBP. It is based on the original WiringPi for Raspberry Pi created by Drogon. The modification is done by LeMaker. The WiringBP API usage are the same to the original wiringPi. You can donwload the WiringBP from: https://github.com/LeMaker/WiringBP.git.
git clone https://github.com/LeMaker/WiringBP.git -b bananapro
git clone https://github.com/LeMaker/WiringBP.git -b bananapi
cd WiringBP
chmod +x ./build
sudo ./build
You can go to LeMaker wiki to see the basic examples: http://wiki.lemaker.org/WiringPi
You can also use the examples and instructions provided by http://wiringpi.com/
And the source directory examples also has many demo.
Thanks!
LeMaker Team