Thanks!
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