I wasn't clear, if I push the button and release it all works fine. Just when I hold it for say 30 seconds it will freeze up as stated.
I wasn't clear, if I push the button and release it all works fine. Just when I hold it for say 30 seconds it will freeze up as stated.
I wouldn't pause and loop until the button is released within the interrupt.
I'd set a flag and handle it back in main logic.
Robert
Bookmarks