Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
executable file 22 lines (16 sloc) 341 Bytes
#include <KeypadShield.h>
KeypadShield keypad;
void setup() {
keypad.begin();
Serial.begin(9600);
Serial.print("Starting keypad monitor!\n");
}
void loop() {
char nextChar = keypad.getNextKeypress();
if (nextChar != 0) {
Serial.print("Got key: ");
Serial.print(nextChar);
Serial.print("\n");
}
delay(100);
}
You can’t perform that action at this time.