Keyboard Interfacing Application Note Updated

Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
Post Reply
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Keyboard Interfacing Application Note Updated

Post by dkinzer »

I've posted an update to AN205 Interfacing a Matrix Keyboard that shows how to connect a matrix keypad using an I2C I/O expander. In addition to using fewer I/O lines and being simpler to construct, this method also has the advantage of being easily used in interrupt mode.

The example code for AN205 now includes three projects: the original polling code using the ShiftIn/ShiftOut interface, a similar polling example using the I2C I/O expander, and an interrupt driven example using the I/O expander that uses WaitForInterrupt().
- Don Kinzer
Post Reply