EasyManua.ls Logo

Orange Pi PC Plus - Page 86

Orange Pi PC Plus
150 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 85 www.xunlong.tv
2) Then start to test the uart interface, first use the Dupont line to short-circuit the rx and
tx of the uart interface to be tested
uart1
uart2
uart3
Tx Pin
Corresponding to pin 38
Corresponding to pin 13
Corresponding to pin 8
Rx Pin
Corresponding to pin 40
Corresponding to pin 11
Corresponding to pin 10
3) Then modify the serial test program serialTest in wiringOP
4) Recompile the serial test program serialTest in wiringOP
root@orangepi:~/wiringOP/examples# make serialTest
[CC] serialTest.c
[link]
root@orangepi:~/wiringOP/examples#
5) Finally run the serialTest, if you can see the following print, it means that the serial
communication is normal
root@orangepi:~/wiringOP/examples# ./serialTest
Out: 0: -> 0
Out: 1: -> 1
Out: 2: -> 2
Out: 3: -> 3

Table of Contents

Related product manuals