目录
下载 wiringOP 的代码
apt install git
git clone https://github.com/orangepi-xunlong/wiringOP
编译 wiringOP
root@orangepi4:~# cd wiringOP
root@orangepi4:~/wiringOP# ./build clean
root@orangepi4:~/wiringOP# ./build
cd wiringOP
./build clean
./build
测试
gpio readall