After a few hours tikering with frank's library i got the button working perfectly. I can do long and short press for different functions then a 5 second hold to turn off the device, and 1 second to turn it back on. it all works perfectly and...
Hey all,
I have two buttons on my teensy 4.1 project that I'd like to merge to one. I got it mostly working, but I am having an issue I will detail below. First, here's their functionality:
Button 1: This is a record button to start logging...
After much pondering and research I've no idea why connecting a GPIO to ON/OFF breaks the ON state. The GPIOs are supposed to default to INPUT PULL_UP state. Ive been through lots of threads and found similar issues with ON/OFF and GPIO, but no...
Same problem discussed on this thread. No solution found (other than disconnecting the additional pin)
https://forum.pjrc.com/index.php?threads/on-off-pin-on-teensy-4-1.73346/page-2