1. Download wiringOP code directly on Orange Pi
sudo apt update
sudo apt install -y git
git clone https://github.com/orangepi-xunlong/wiringOP
2. If it cannot be downloaded on Orange Pi , you can also open https://github.com/orangepi-xunlong/wiringOP through a Windows browser
to download the compressed package and then transfer it to Orange Pi through ftp file transfer software. go
3. Compile and install wiringOP
cd wiringOP
sudo./build clean
sudo ./build
4. Verification command: gpio readall
displays the screen shown above, indicating that the peripheral library WiringPI has been installed.