Adding support for Chatter keypad (#4022)

* Adding support for Chatter keypad

* Remove user button mapping since full keypad is now useable

* Adding TAB key and RIGHT to allow selecting a destination

* Fix shift bug (there's only three levels, not four)

* reformat file

* Fix bug with fast repeated keypresses

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Sylvain Migaud
2024-07-31 07:38:21 -05:00
committed by GitHub
co-authored by GitHub Ben Meadors
parent 103ab0c242
commit 106a50bce2
6 changed files with 265 additions and 1 deletions
+8 -1
View File
@@ -34,7 +34,7 @@
// Buzzer
#define PIN_BUZZER 19
// Buttons
#define BUTTON_PIN 36 // Use the WAKE button as the user button
//#define BUTTON_PIN 36 // Use the WAKE button as the user button
// I2C
// #define I2C_SCL 27
// #define I2C_SDA 26
@@ -91,6 +91,13 @@
#define GPS_TX_PIN 13
#define GPS_RX_PIN 2
// keyboard
#define INPUTBROKER_SERIAL_TYPE 1
#define KB_LOAD 21 // load values from the switch and store in shift register
#define KB_CLK 22 // clock pin for serial data out
#define KB_DATA 23 // data pin
#define CANNED_MESSAGE_MODULE_ENABLE 1
/////////////////////////////////////////////////////////////////////////////////
// //
// You should have no need to modify the code below, nor in pins_arduino.h //