Quote Originally Posted by chien_fu View Post
And I want to interrupt this loop with a button push, more importantly a button hold, (2sec). So when you hold the button it pops out of its loop.
Don't really know where to start with this... as far as I can tell I can only check the button state (up/dn) once per loop?
Thanks for your patience..
Then don't do one 10-second pause, do 5 2-second pauses....
Or 10 1-second pauses. If the button is held for 2 consecutive pauses, then kick out of the loop.