Changes

Jump to: navigation, search

Orange Pi 3B

128 bytes removed, 13:56, 23 August 2023
How to install and use Wiringop-Python
<span id="how-to-install-and-use-wiringop-python"></span>
== How to install and use WiringopwiringOP-Python ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|
<big>'''WiringopwiringOP-Python is the library of the Python language version of Wiringop. It wiringOP, which is used to operate the hardware resources of the development board's , such as GPIO, I2C, SPI and UART hardware resources such as the development board , in the Python program.'''
'''Please In addition, please note that all the following command below is commands are operated under the <span style="color:#FF0000">root</span> user.'''</big>
|}
<span id="wiringop-python-installation-method"></span>
=== WiringopwiringOP-Python installation method ===
# First install the dependency package
|-
|
<big>'''Note that the following git clone--recursivee command will automatically download the source code of WiringopwiringOP, because WiringopwiringOP-Python depends on WiringopwiringOP. Please make sure that the download process does not report an error due to network problems.'''
'''If there is a problem with the download code from GitHub, you can use the WiringopwiringOP-Python source code that comes with the Linux image directly, and the storage location is:/usr/src/wiringOP-Python'''</big>
|}
{| class="wikitable" style="width:800px;"
</ol>
<ol start="5" style="list-style-type: decimal;">
<li><p>Test whether the WiringopwiringOP-Python is installed successfully under the Python command line is shown below: </p>
<ol style="list-style-type: lower-alpha;">
<li>First use the Python3 command to enter the command line mode of Python3</li>
</ol>
<ol start="3" style="list-style-type: lower-alpha;">
<li>Enter the following command to view the help information of WiringopwiringOP-Python, and press the '''q''' key to exit the interface of the help information</li>
{| class="wikitable" style="width:800px;"
|-
|-
|
<big>'''WiringopwiringOP-Python is the same as Wiringop. You wiringOP, you can also determine which GPIO pink can be determined pin to operate by specifying the WPI wPi number. Because , because there is no command to check the WPI wPi number in WiringopwiringOP-Python, so you can only check the board WPI wPi number and physical physical physics through the GPIO command in Wiringop. The corresponding relationship of the pinCorrespondence between pins.'''</big>
<div class="figure">

Navigation menu