Raspberry Pi4 install WiringPi
To use “gpio -v” and “gpio readall”, we have to install Wiring pi
Follow this on terminal.
before you start, just recommended. sudo apt-get update sudo apt-get full-upgrade
- sudo apt purge wiringpi
- hash -r
- git clone https://github.com/WiringPi/WiringPi.git
- ls <- check there is WiringPi directory
- cd WiringPi
- git pull origin
- sudo apt-get install make
- ./build
now it’s end
-> gpio -v -> gpio readall
Leave a comment