instalar o pigpiod
sudo apt-get update sudo apt-get install pigpio pigpiod -v
sudo apt-get install build-essential
rm master.zip sudo rm -rf pigpio-master wget https://github.com/joan2937/pigpio/archive/master.zip unzip master.zip cd pigpio-master make sudo make install
wget https://raw.githubusercontent.com/joan2937/pigpio/master/util/pigpiod.service sudo cp pigpiod.service /etc/systemd/system sudo systemctl enable pigpiod.service sudo systemctl start pigpiod.service
Comentários