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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/04/01 19:44
Read: times


 
#7772 - RE: Keypad interfacing revisited...
I agree with Jay's idea of a background scanning routine, but I have (successfully!) avoided interrupts like the plague for my keyboards. BTW, I use membrane matrix keyboards a lot, which I expect have v. noisy contacts(?).
The easiest approach for a 0-key rollover deal is to use a state machine; just look at all 4 inputs (if 4x4) at the beginning of the routine; if any pressed, scan & find which & handle it; set next state & exit. Next time thru (100mS later), if not the 0 state, wait till all keys off.

If you must use a common-contact keyboard, use a bit of logic (8-to-3 priority devices or such), or Ben's thingy (almost a Belgian idea :-).

Regards,

Richard

Regards,

Richard


List of 17 messages in thread
TopicAuthorDate
Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad interfacing revisited...            01/01/70 00:00      
RE: Keypad intrfaced with 8052 software            01/01/70 00:00      

Back to Subject List