8,367
edits
Changes
→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>