Open hoopsurfer opened 5 years ago
I was able to start the mcu poweroff timer but I wan unable to read the button presses. Here's my current code:
The button reports high both pressed and released so I don't know where to go from here.
I made it work. I'll publish it soon.
gpiozero might provide cleaner code in the long run. Note the nice pin numbering explaination.
gpiozero pinout