Keypad_Particle (community library)


Name Value
Name Keypad_Particle
Version 1.0.0
Installs 23520
Author Mark Stanley, Alexander Brevig
Download .tar.gz

A Particle port of the Keypad Arduino library by Mark Stanley and Alexander Brevig.

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.


A Particle library for Keypad_Particle

Used to read keypads such as 12-button keypad from SparkFun


Connect keypad hardware, add the Keypad_Particle library to your project, and follow this simple example:

#include "Keypad_Particle.h"
// set up keypad buttons
const byte ROWS = 4;
const byte COLS = 3;
char keys[ROWS][COLS] = {
byte rowPins[ROWS] = { D3, D2, D1, D0 };
byte colPins[COLS] = { D6, D5, D4 };

// create Keypad object variable called "keypad"
Keypad_Particle keypad = Keypad_Particle( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

void setup(){

void loop(){
char key = keypad.getKey();

if (key){

See the examples folder for more details.


Copyright 2015 Mark Stanley, Alexander Brevig

Licensed under the GNU General Public License

Browse Library Files