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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/17/00 03:27
Read: times


 
#4477 - RE: button-noice filter (software).
Do you mean debounce software for switches or a keyboard?
If so, the easiest way is with a state machine. For example :
state=0 at reset, waiting for any key.
set state=1 when any key pressed (+ decode + action).
set state=2 when all keys released & wait at least 100mS before settng state=0.

Does this help?

Regards,

Richard



List of 5 messages in thread
TopicAuthorDate
button-noice filter (software).            01/01/70 00:00      
RE: button-noice filter (software).            01/01/70 00:00      
RE: button-noice filter (software).            01/01/70 00:00      
RE: button-noice filter (software).            01/01/70 00:00      
RE: button-noice filter (software).            01/01/70 00:00      

Back to Subject List