Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
(If only need one LED. Please refer to step 2 directly)
wiringPi
sudo apt-get install wiringpi
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
gpio -v
#See gpio version: 2.52, indicating that the installation was successful
Python
sudo apt-get update
sudo apt-get install python-pip
sudo pip3 install RPi.GPIO
The jumper cap settings are as follows:
R is connected to GND (other NC) ,The red light is on
The jumper cap settings are as follows: