joeyoung / arduino_keypads

arduino libraries for keypad interface on I2C bus
GNU General Public License v3.0
153 stars 102 forks source link

Two question not issues! #4

Closed beicnet closed 5 years ago

beicnet commented 5 years ago

Hi there,

I have two question:

  1. Is the library working on ESP platform (WeMos D1 mini)?
  2. How can I define Keypads like this ones (more or less buttons): image image image image

Thank you! ;-)

joeyoung commented 5 years ago
  1. The library is an arduino library, uses arduino timers for key debouncing, and depends on the arduino loop( ) structure. I have no experience with the ESP platforms, but as far as I know, they are not directly supported by the arduino IDE except possibly as a peripheral on certain arduino boards. With the ESP as a peripheral, the arduino could handle the keypad.

  2. The library can handle up to 8 inputs arranged in rows and columns in any way that totals 8. So, eg a 4 key keypad could use a matrix of 4 X 1 (5 inputs) if each key was separate, or a matrix of 2 X 2 (4 inputs) if the keypad was connected that way. To use more than 16 keys (4 X 4 ) you can create more than one keypad object. Multiple keypad objects is convenient when using I2C I/O.

...Joe