
Orange Pi 2G-IOT User Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
48
Usage:
1) Download WiringPi image of OrangePi 2G-IOT
env GIT_SSL_NO_VERIFY=true git clone https://github.com/OrangePiLibra/WiringPi.git
2) Compile and install WiringPi
cd WiringPi
sudo ./build OrangePi_2G-IOT
sudo ./build install
3) Utilze WiringPi
cd WiringPi/example/OrangePi
make OrangePi
./OrangePi
4) Details GPIO infromation
cd WiringPi/example/OrangePi
cat README.md
Reality Test
OrangePi 2G-IOT contains GPIOA, GPIOB, GPIOC and GPIOD. Each of group has 32
gpio. The type of GPIO is "Input", "Output" and "specify function" such as "I2C", "I2S"
and so on. On board, OrangePi 2G-IOT exports 40 pins as different function. User can
utilize these, GPIO on different application scenarios. For example, User can configure
the type of GPIO as "Input", and get current voltage from program. Another hand, User
can configure GPIO as specify function, such as "Uart", "I2C" and "SPI".