Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 3G- IoT -A

3,627 bytes added, 15:32, 20 June 2022
no edit summary
<br>
<br>
'''<span style="font-weight:700;">Get the Open/Close Status of GPIO : cat /sys/devices/virtual/misc/mtgpio/pin</span><br><br>Enter the command under ADB mode: cat /sys/devices/virtual/misc/mtgpio/pin , then it will show:<br><br>pin: [mode] [pull_sel] [din] [dout] [pull en] [dir] [ies] [smt]<br><br>0:11101010<br><br>1:01101010<br><br>、、、、、、<br><br>22:1-100-10-1-1<br><br>、、、、、、、<br><br>42:00000110<br><br><br><span style:"font-weight:700;">Corresponding meaning per row:</span><br><br>IO Number:mode,pull select,input value,output value,pull enable,direction,ies<br><br><span style:"font-weight:700;">Modify the Status of GPIO:</span><br><br>You could get the 40pin GPIO specifications from this manual or from schematic which have been uploaded to our official website: <span style="color:#808080;">http://www.orangepi.org/downloadresources/.</span> For example the 37th pin on 40pins is GPIO123,<br><br>echo -wdout123 1 > pin -This is Set the GPIO to output high level <br><br>echo -wdout123 0> pin -This is Set the GPIO to output high level<br><br>== '''History''' ==<br> <table style="min-width: 1000px;text-align: center;" border="1" bordercolor="#d8d8d8" cellspacing="0" cellpadding="0"> <tr style="background-color: #b7b7b7;height: 50px;"> <td>Ver</td> <td>Data</td> <td>Author</td> <td>Brief</td> <td>Publish</td> <td>Memo</td> </tr> <tr style="height: 50px;"> <td>1.1</td> <td>2018-05-25</td> <td>Engineer Pan</td> <td>Create Documentation</td> <td>2018-6-14</td> <td></td> </tr> <tr style="height: 50px;"> <td>1.2</td> <td>2018-10-18</td> <td>Engineer Pan</td> <td>Usage of GPIO</td> <td>2018-10-19</td> <td></td> </tr> <tr style="height: 50px;"> <td>1.3</td> <td>2019-02-21</td> <td>Engineer Pan</td> <td>compilation script Page10</td> <td>2019-02-21</td> <td></td> </tr> <tr style="height: 50px;"> <td>1.4 </td> <td>2019-04-15</td> <td>csy</td> <td>Linux source code compilation and serial port debugging</td> <td>2019-04-17</td> <td></td> </tr> <tr style="height: 50px;"> <td>1.5 </td> <td>2020-03-24</td> <td>csy</td> <td>Linux source code compilation</td> <td>2020-03-24</td> <td></td> </tr> <tr style="height: 50px;"> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr style="height: 50px;"> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr style="height: 50px;"> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr style="height: 50px;"> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> </table><br><br>For more information on using the Orange Pi 3G-IoT, please see the [http://localhost:8080/index.php?title=%E6%96%87%E4%BB%B6:Orange-pi-3G-iot.docx <span style="color:red;">Orange Pi 3G-IoT User Manual</span>]. (Click to download)