EasyManua.ls Logo

Orange Pi R1 Plus - 13 pin Interface GPIO, I2 C, UART Test; 13 pin GPIO Port Test

Orange Pi R1 Plus
115 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
75
www.xunlong.tv
5.18. 13pin interface GPIO, I2C, UART test
wiringOP has been adapted to the Orange Pi R1 Plus development board, using
wiringOP can test the functions of GPIO, I2C and UART
5.18.1. 13pin GPIO port test
1) Below, take pin 5-corresponding to GPIO as GPIO3_A4--corresponding to wPi serial
number as 2-as an example to demonstrate how to set the high and low levels of the
GPIO port
2) First set the GPIO port to output mode, and the third parameter needs to input the
serial number of the wPi corresponding to the pin
root@orangepir1plus:~/wiringOP# gpio mode 2 out
Use gpio readall to see that the mode of pin 5 has changed to out

Table of Contents

Related product manuals