range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 77 www.xunlong.tv
3.24. 40Pin's GPIO, I2C, UART, SPI test
Wiring OP has been adapted to the Orange Pi development board, using wiringOP
can test the functions of GPIO, I2C, UART and SPI
Before starting the test, please make sure that wiringOP has been compiled and
installed by referring to the section Installing wiringOP
3.24.1. Ordinary GPIO port test
1) Let’s take pin 7-corresponding to GPIO as PA6-corresponding to wPi serial number as
2-as an example to demonstrate how to set the high and low levels of GPIO