BPI-R1 WiringPi
Last updated
Last updated
BPI WiringPi support all raspberry pi module and all banana pi module :BPI-M1,BPI-M1+,BPI-R1,BPI-M2,BPI-M2+,BPI-M2 Ultra,BPI-M2 Magic,BPI-M3,BPI-M64
https://github.com/BPI-SINOVOIP/WiringPi
https://github.com/BPI-SINOVOIP/WiringPi/tree/master/wiringPi/board
install BPI-R1 WiringPi:
1,Download WiringPi from github For BPI-R1
git clone https://github.com/BPI-SINOVOIP/BPI-WiringPi.git -b BPI_R1
2,Installation:
cd BPI-WiringPi
chmod +x ./build
sudo ./build
3,test wiringPi is install success
gpio -v
gpio readall
4,create new : blink.c
compile and run it:
gcc -Wall -o blink blink.c -lwiringPi
runing it:
sudo ./blink
BPI have many extend board support WiringPi. so you can free DIY by youself:
more about BPI extend board,please see: