Post
by hueblo » Wed Dec 12, 2018 8:55 pm
Followed the steps and dim button seemed to work but brightness button did not work. Then I noticed in the picture in the guide brightness button is hooked up to pin 14 but in the python brightness button is set to pin 16. I just changed it to to 14 in the python and the brightness button then worked. Btw I added the code below to /etc/rc.local before exit 0 to get this to work at start up.
sudo python /home/pi/brightness_controller.py
sudo /home/pi/PIGPIO/pigpiod