Replies: 1 comment 3 replies
-
The keypad plugin can read keycodes from an I2C device, it uses a strobe signal to trigger a read so the interface is pretty simple. There are I2C keypad handling chips available that should be usable with the interface, however I decided to use a cheap MSP430 MCU for my implementation. You may also add your own board specifc code that uses an I/O expander directly, but I am unsure if this requires constant polling of the expander to read the key status - that would depend on the capabilities of the expander? Polling an I2C device is, IMO, not desirable. Without knowing what the keypad is going to be used for it is hard to tell what will be the best/easiest way to solve this issue. |
Beta Was this translation helpful? Give feedback.
-
I would like to retrofit a machine that uses buttons that are arranged in a 3 x 8 matrix. I am not sure what would be the best way to add these extra io s to the PICO. One ideas was to use the PCA9654E plugin or something similar. I am not sure if I understood correctly, but it looks this class only handles io pins in a linear array, and not in a matrix array? Is there a another way that I could look at to solve this issue .
Something like this based on a 16 bit io expanded chips would be ideal
Beta Was this translation helpful? Give feedback.
All reactions