Something to be cleared ...

Originally Posted by
Tissy
What is the easiest way to perform the following.
I then want a Confirmation GOSUB so that if the button is pushed say 3 times and the LED flashes 3 times, it gives you the opportunity to confirm your selection by pushing the button again.
So i would like a GOSUB which gives a 3 second window where if the button is pushed again after the flashes but at anytime during this 3 second window, the selection is confirmed and the GOSUB RETURNS, if no button is pushed within the 3 seconds window, the program starts over.
Many thanks.
Hi, Tissy
Something hurts me :
If you push the button 2 times, and want to confirm within 3 secs ... the device will see button pushed 3 times !!!
How do you want to understand increments from confirm pushes ???
May be you should have two timings : 1 sec window ( i.e. ) for increments and a 2 more sec window to confirm.
More than 3 sec will start over then.
Hope this is your project missing part !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks