Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75829

Casio Prizm/FX Development & Programming :: RE: Blocking key-input with timeout?

$
0
0
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 ProfiledA Profile

-Ashbad


Viewing all articles
Browse latest Browse all 75829

Latest Images

Trending Articles



Latest Images