树莓派4B 安装gpio库(WiringPi) $ sudo apt-get install git-core $ sudo apt-get update $ sudo apt-get upgrade $ git clone https://github.com/WiringPi/WiringPi $ cd ~/wiringPi $ git pull origin $ ./build