8,367
edits
Changes
→How to install wiringOP-Python
|}
</li>
<li><p>Then enter the following command, if there is help information output, it means that wiringOP-Python is installed successfully, press the '''q''' key to exit the help information interface</p></li></ol>
{| class="wikitable" style="width:800px;"
: # the SWIG interface file instead.
|}
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>The steps to test whether wiringOP-Python is successfully installed under the python command line are as follows:</p>
<ol style="list-style-type: lower-alpha;">
<li>First use the python3 command to enter the command line mode of > python3</li></ol>
</li></ol>
>>> '''import wiringpi;'''
|}
</ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li>Finally, enter the following command to view the help information of > wiringOP-Python, and press the q key to exit the help information > interface</li></ol>
{| class="wikitable" style="width:800px;"
>>>
|}
</ol>
<span id="pin-gpio-port-test-1"></span>