With all the hard work being done by the BPI team, BPI Github now officially releases BPI-WiringPi.
We've customized WiringPi for BPI products with the latest WiringPi version, V2.26.
RaspberryPi's applications of WiringPi can also be run on BPI M1 and M1+. Don't you think it's cool?
Download now to give it a shot, it's gonna be fun!
This is a modified WiringPi for BPI M1 / M1Plus /M2. We call it BPI-WiringPi. It is based on the original WiringPi for Raspberry Pi created by Drogon. The modification is done by BPI-Team. The BPI-WiringPi API usage are the same to the original wiringPi. You can donwload the original wiringPi from: git clone https://github.com/BPI-SINOVOIP/BPI-WiringPi.
For BPI-M1 / M1Plus
https://github.com/BPI-SINOVOIP/BPI-WiringPi.git -b BPI_M1_M1Plus
chmod +x ./build
You can go to folder "test" to test sample codes.
You can also use the examples and instructions provided by http://wiringpi.com/
And the source directory examples also has many demo.