Raspberry Pi 3 --- GPIO control

Before input 'gpio readall', need install wiringPi

download "wiringPi":git clone git://git.drogon.net/wiringPi

enter the file of wiringPi

build and install: ./build 

原文地址:https://www.cnblogs.com/god-of-death/p/6181119.html