http://www.picbasic.co.uk/forum/showthread.php?t=603 reply #7,9
OK Mel, what I am trying to do is:
do a bunch of stuff (all code OK and works)
press START button
start counter up to 100 - 1500 ticks (1 - 15 secs set by switches during first bunch of stuff)
time out
leave and do another bunch of stuff (all code OK and works)
do not count until start pressed again, and new number of ticks read.
'MY THOUGHTS:
either start the interrupt routine at press START, and stop it at TIMEOUT
or Have interrupt routine free running and zero counter and count to TIME and then go off and do the other stuff.
During the time delay, nothing happens except wait for TIMEOUT
Sorry to ask all these dumb Qs Mel, but seems to me you are the brains in this outfit?
Bookmarks