Keypad_I2C (community library)


Name Value
Name Keypad_I2C
Version 0.2.11
Installs 8435
Author Evan Simkowitz, Mark Stanley, Alexander Brevig, Sandro Lange
Maintainer Evan Simkowitz
Download .tar.gz
All Versions 0.2.11, 0.1.11, 0.1.10, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5

Particle IDE library for using a keypad with an I2C I/O expander Pins on Photons are scarce! Don't waste your pins on a keypad when you can connect it over I2C. This library allows makers to integrate a keypad into their project using two simple wires. Currently works with the Adafruit MCP23008 and MCP23017 I2C controllers.

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.


Copyright (c) 2017, Evan Simkowitz

The Key library is licensed under LGPLv2.1. The Keypad-I2C library is licensed under GPLv3. The Adafruit_MCP23008 library is under a BSD license. The Adafruit_MCP23017 library is under a BSD license.

Particle-Keypad-I2C is Evan Simkowitz's adaptation of Sandro Lange's Spark Core port of Alexander Brevig and Mark Stanley's Keyboard Arduino library. The Adafruit_MCP23008 library is Evan Simkowitz's Particle IDE port of Limor Fried/Ladyada's library for Adafruit Industries. The Adafruit_MCP23017 library is Paul Kourany's Particle IDE port of Limor Fried/Ladyada's library for Adafruit Industries.

This library allows for operation of a keypad over I2C. This library is compatible with the following Particle boards: Photon, P1, Electron, Core. Currently the supported I2C chips are the MCP23017 and MCP23008.

I plan to add support for more I2C chips in the future so stay tuned! That said, if anyone wants to help me with that, I would be much obliged! Enjoy and please send pull requests if you add any functionality.

Browse Library Files