Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/01/03 12:44
Read: times


 
#51905 - RE: software debouncing
Responding to: ???'s previous message
Raghunathan R wrote:

-------------------------------
The pseudo code should be like this ?
===============
KeyScan:
1.Start
2.scan the key
3.If not down goto step 7
4.Wait for 20-50ms
5.key still down? If not goto step 7
6.excute keydown statements
7.exit

Call KeyScan every 100mS or as required.
================

thanks for correction.

but what i assumed is master lio will call that routine after a key interrpt has happenned and now he has to check what key has been pressed and the validity of the keystroke.



abhishek



List of 8 messages in thread
TopicAuthorDate
software debouncing            01/01/70 00:00      
   RE: software debouncing            01/01/70 00:00      
      RE: software debouncing            01/01/70 00:00      
   RE: software debouncing            01/01/70 00:00      
      RE: software debouncing            01/01/70 00:00      
         RE: software debouncing            01/01/70 00:00      
            RE: software debouncing            01/01/70 00:00      
   RE: software debouncing (alternative)            01/01/70 00:00      

Back to Subject List