
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
"Gary Kato" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I assume it's a 6 by 7 unencoded keypad? The usual way is to attach the
columns
> to one port and the rows to another port. You set one port to output all
ones
> except the one you are interested in. You read the other port. The bit
with the
> 0 tells you which switch was being pushed (if any).
>
Don't forget to add some debounce code afterwards ----------
| <-- __Chronological__ --> | <-- __Thread__ --> |