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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/10/02 10:22
Read: times


 
#24203 - RE: Multiplexed Display/Key
shall i write "debounce code" & all other stuff in TSR of T0.

absolutely not, keep interrupts short and sweet.

Read the keys in main, when a change is detected, start a timer for whatever the time is for your particular keys to debounce. Then every loop of main test if the timer has expired, read the keys again, if identical accept, if not start the process again.

Have fun,

Erik


List of 5 messages in thread
TopicAuthorDate
Multiplexed Display/Key            01/01/70 00:00      
RE: Multiplexed Display/Key            01/01/70 00:00      
RE: Multiplexed Display/Key            01/01/70 00:00      
RE: Multiplexed Display/Key Peter            01/01/70 00:00      
RE: Multiplexed Display/Key Peter            01/01/70 00:00      

Back to Subject List