??? 09/19/06 18:51 Read: times |
#124609 - to clarify Responding to: ???'s previous message |
I'm not detecting that a key was pressed with a high. I'm DECODING which key was pressed with a high. Keep in mind that this whole shebang is kicked off by an external interrupt which is NEGATIVE OR'ed (heh heh) with the rows. Therefore when the keypad scan commences, a row will be low. When a button is pressed, P1 != 0xFF I set each column high in turn, and check to see if P1 == 0xFF after each column goes high. That's how I figure out which column I'm dealing with. |