enum KeypadButtons{
UP,DOWN,LEFT,RIGHT,OK,BACK,_COUNT
};
char buttonChar[] = "wsadqe";
void pr() {
Serial.print(F("Buttons ("));
Serial.print(_COUNT);
Serial.println(F("):"));
for (uint8_t i = 0; i<_COUNT; i++) {
Serial.print(F(" Button "));
Serial.print(i);
Serial.print(F(" - "));
Serial.print(buttonChar[i]);
Serial.println();
}
}
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pr();
Serial.println(F("Start"));
}
void loop() {
// put your main code here, to run repeatedly:
}