Banana pi BPI-M3 A83T octa-core single board comp
  • Initial page
  • LANGS
  • Banana Pi BPI-M3
    • Banana pi BPI-M3 octa-core development board
    • Summary
    • BPI-M3 WIFI interface
    • BPI-M3 Validation test
    • bpi-bootsel commond
    • BPI-M3 3.5 音频接口
    • BPI-M3 quality guarantee
    • BPI-tools
    • BPI-M3 WiringPi
    • How to setup docker env. to build github source code
    • linux_for_kernel_34
    • BPI-M3 GigE RJ45 LAN
    • BPI-M3 software
    • BPI-M3 CE,FCC RoHS Certification
    • All Banana Pi SBC Comparison
    • BPI-M3 SATA interface
    • GPU for kernel 3.4
    • BPI-M3 3.7 V lithium battery interface
    • BPI-M3 schematic diagram
    • BPI-M3 CSI camera interface
    • BPI-M3 Audio microphone interface
    • How to burn Linux image to eMMC
    • android_software
    • BPI-M3 micro SD card slot
    • BPI-M3 OTG interface
    • BPI-M3 USB interface
    • BPI-M3 DC Power interface
    • BPI-M3 MIPI DSI interface
    • linux-sunxi wiki
    • Linux software
    • A83T Linux-sunxi wiki
    • BPI-M3 eMMC flash
    • how_to_burn_android_image_to_emmc
    • BPI-M3 DXF and 3D design
    • BPI-M3 WIFI Lab test
    • how to use fatload uEnv.txt & script.bin & kernel uImage
    • BPI-M3 IR interface
    • BPI-M3 HDMI interfact
    • BPI-M3 online video
    • bpi-bootsel commond
    • BPI-M3 GPIO Pin define
    • BPI-M3 How to control GPIO on Android
    • OpenWRT on banana pi
    • Reference documents
    • Allwinner chip documents
    • BPI-M3 hardware spec
    • BPI-M3 wifi antenna slot
    • BPI-M3 fix rootmydevice issue for Security Alert
    • BPI-M3 bluetooth interface
    • BPI-M3 mainline kernel
    • BPI-M3 source code on github
    • BPI-M3 Quick Start
    • How to rotate display screen
    • Linux mainlining effort
    • BPI-M3 BSP Cross Compile teach
    • BPI-M3 hardware interface
    • Banana pi wikipedia wiki
    • mainline Linux
    • mainline uboot
  • Banana Pi BPI-M3
    • Banana pi wikipedia wiki
    • a83t-datasheet-and-user-manua
    • Summary
    • bpi-copy command
    • android_software
    • android-51-development-document
    • All Banana Pi SBC Comparison
    • A83T Linux-sunxi wiki
    • All banana pi product
    • Allwinner chip documents
    • bpi-bootsel commond
    • bpi-bootsel commond
    • BanaNAS-Nas server based on Debian Jessie
  • Getting Started with M3 - Banana Pi Wiki
Powered by GitBook
On this page

Was this helpful?

  1. Banana Pi BPI-M3

BPI-M3 WiringPi

PreviousBPI-toolsNextHow to setup docker env. to build github source code

Last updated 5 years ago

Was this helpful?

install BPI-M3 WiringPi:

1,Download WiringPi from github For BPI-M3

git clone https://github.com/BPI-SINOVOIP/BPI-WiringPi.git -b BPI_M3

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

#include <wiringPi.h>
int main(void)
{
  wiringPiSetup() ;
  pinMode (0, OUTPUT) ;
  for(;;) 
  {
    digitalWrite(0, HIGH) ; delay (500) ;
    digitalWrite(0,  LOW) ; delay (500) ;
  }
}

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:

link to forum:

youtube vodeo for how to:

https://bananapi.gitbooks.io/bpi-accessories/content/
http://forum.banana-pi.org/t/bpi-wiringpi-officially-supports-bpi-m3-kernel-3-4/998/4
https://www.youtube.com/watch?v=OJeFWyiTqgQ