New-B
Using 8M or 14M
Please help.
I am trying to find a routine that will only respond (EG output 1 high) when input pin1 goes momentarily high 3 times within "any" 60 second period.
My routine wont cut it> It only responds to 3 highs within "a" 60 second period_ and then goes back to start.
What I tried:
I wrote a routine that basically uses high #1 to start it, followed by a loop that requires high #2 to continue (or back to start), followed by a loop that requires high #3 to get a response (or back to start).
Details...
I used something like loop 1 to 30 with a pause to add up to about 60 seconds. My momentary switch goes high for 3 seconds, so_ I included a "wait" prior to "goto" so that a mom high wouldn't continue to the next loop.
I was looking at using "If Then..." but I still see the same problem.
Using 8M or 14M
Please help.
I am trying to find a routine that will only respond (EG output 1 high) when input pin1 goes momentarily high 3 times within "any" 60 second period.
My routine wont cut it> It only responds to 3 highs within "a" 60 second period_ and then goes back to start.
What I tried:
I wrote a routine that basically uses high #1 to start it, followed by a loop that requires high #2 to continue (or back to start), followed by a loop that requires high #3 to get a response (or back to start).
Details...
I used something like loop 1 to 30 with a pause to add up to about 60 seconds. My momentary switch goes high for 3 seconds, so_ I included a "wait" prior to "goto" so that a mom high wouldn't continue to the next loop.
I was looking at using "If Then..." but I still see the same problem.