Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 Plus

105 bytes added, 17:45, 6 June 2023
40 pin GPIO port test
|-
|
<p>root@orangepi:~/wiringOP# '''gpio mode <span style="color:#FF0000">2 </span> out'''</p>
|}
</li>
|-
|
<p>root@orangepi:~/wiringOP# '''gpio write 2 <span style="color:#FF0000">0</span>'''</p>
|}
<p>Use gpio readall to see that the value (V) of pin 7 has changed to 0</p>
|-
|
<p>root@orangepi:~/wiringOP# '''gpio write 2 <span style="color:#FF0000">1</span>'''</p>
|}
<p>Use gpio readall to see that the value (V) of pin 7 has changed to 1</p>