Author: Ashbad
Posted: 27 Mar 2013 02:53:06 pm (GMT -5)
I would suggest making a loop that would check for both keypresses with a non-blocking input routine (probably the best would be to poll the hardware registers), and timer expiration, and it would terminate with success if a key was pressed, and with failure if it timed out. I'd also suggest checking WikiPrizm for some useful timer/getkey routines that would make this easier![Smile]()
_________________
PJ Profile | dA Profile
-Ashbad
Posted: 27 Mar 2013 02:53:06 pm (GMT -5)
I would suggest making a loop that would check for both keypresses with a non-blocking input routine (probably the best would be to poll the hardware registers), and timer expiration, and it would terminate with success if a key was pressed, and with failure if it timed out. I'd also suggest checking WikiPrizm for some useful timer/getkey routines that would make this easier

_________________
PJ Profile | dA Profile
-Ashbad