Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
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
Download GPIO_Test.py to Raspberry Pi
sudo python GPIO_Test.py
Phenomenon: The power indicator LED is always on, the GPIO connection LED lights up in sequence and then goes out in sequence, and the cycle continues.