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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/25/04 16:36
Read: times


 
#79792 - RE: PCF8574 matrix keyboard
Responding to: ???'s previous message
all pressed keys to be sensed, please let me know.
1) you can not detect "all keys" without including diodes. Without diodes, you can only detect "any key" i.e. multiple keys pressed is not detectable with certainty.
2) there really is no reason to use a keypress interrupt since you have to scan the keys anyhow (row select) and for the purpose of debouncing a timer (interrupt) need to be involved anyhow. Using a keypress interrupt will, typically be a heavy load because you get a whole lot of them when the key bounces. Using the PCF8574 is, with the exception of the IIC communication, not diffrent from using a regular '51 port. search on "debounce" and solutions will come up.

Erik




List of 10 messages in thread
TopicAuthorDate
PCF8574 matrix keyboard            01/01/70 00:00      
   RE: PCF8574 matrix keyboard            01/01/70 00:00      
   RE: PCF8574 matrix keyboard            01/01/70 00:00      
      RE: PCF8574 matrix keyboard            01/01/70 00:00      
      RE: PCF8574 matrix keyboard            01/01/70 00:00      
         RE: PCF8574 matrix keyboard            01/01/70 00:00      
         RE: PCF8574 matrix keyboard            01/01/70 00:00      
            RE: PCF8574 matrix keyboard            01/01/70 00:00      
                RE: PCF8574 matrix keyboard            01/01/70 00:00      
            RE: PCF8574 matrix keyboard            01/01/70 00:00      

Back to Subject List