There might be a way it could work, but is that a production 2x2 keypad?
It just sounds like a waste of time and doesn’t save any pins over using four buttons.
There might be a way it could work, but is that a production 2x2 keypad?
It just sounds like a waste of time and doesn’t save any pins over using four buttons.
Just a thought... Doesn’t the sleep timer have an amount of time it sleeps in low power,
then wakes up, then you have to put it to sleep again and keep working that way?
If so, you could turn on the output pin and just check the one button for power on before putting it to sleep each time.
That just means you have to hold the power button to turn it on, which isn’t out of the ordinary.
That’s if an interrupt doesn’t work in the first place.
Bookmarks