Update install wiringpi v3 not v2

master-b-w
Alan Johnston 1 week ago committed by GitHub
parent 0c5b0abd6f
commit 122aa7d912
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -404,12 +404,20 @@ fi
sudo systemctl disable gpsd
sudo systemctl disable gpsd.socket
if [ ! -d "/home/pi/WiringPi" ]; then
cd
git clone https://github.com/alanbjohnston/WiringPi
cd WiringPi
#if [ ! -d "/home/pi/WiringPi" ]; then
# cd
# git clone https://github.com/alanbjohnston/WiringPi
# cd WiringPi
# ./build debian
# sudo dpkg -i debian-template/wiringpi-2.61-1.deb
#fi
if [ ! -d "/home/pi/WiringPi3" ]; then
git clone https://github.com/WiringPi/WiringPi.git WiringPi3
cd WiringPi3
./build debian
sudo dpkg -i debian-template/wiringpi-2.61-1.deb
mv debian-template/wiringpi*.deb .
sudo apt install ./wiringpi*.deb
fi
cd

Loading…
Cancel
Save

Powered by TurnKey Linux.