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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/24/00 17:58
Read: times


 
#3406 - RE: Keypad issues
Hi Peter,

Start with a cleared variable; for every keypush, multiply the value in the variable by 10 & add the new value to it. If you are always entering 5 digits, there's no need for the #.
Debouncing is another problem - allow a delay of 100 to 125mS between key scans (humans are slow devices!), & use a state machine to wait for a key on, then for all keys off.

Like many things in life, it's easier the second time!

Regards,

Richard


List of 20 messages in thread
TopicAuthorDate
Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
Debouncing Keypads            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
RE: Keypad issues            01/01/70 00:00      
Keypad issues            01/01/70 00:00      
RE: Debounced switch            01/01/70 00:00      

Back to Subject List