使用树莓派4B运行gpio readall
Oops - unable to determine board type... model: 17
原因:
版本是V2.5版本导致,需要升级只2.52版本
升级方法:
http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/
To upgrade:
cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
Check with:
gpio -v