RAK-5005 button pin mapping tweak

1.2-legacy
Ben Meadors 2021-12-09 19:56:49 -06:00
rodzic 033e0e99ec
commit 66085d7447
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -58,13 +58,16 @@ extern "C" {
/* /*
* Buttons * Buttons
*/ */
#ifdef RAK_BASE_5005 #ifdef RAK_BASE_5005
#define PIN_BUTTON1 5 // This will default to normal button pin #define PIN_BUTTON1 9 // Pin for button on E-ink button module or IO expansion
#define BUTTON_NEED_PULLUP
#endif #endif
#define PIN_BUTTON2 12 #define PIN_BUTTON2 12
#define PIN_BUTTON3 24 #define PIN_BUTTON3 24
#define PIN_BUTTON4 25 #define PIN_BUTTON4 25
/* /*
* Analog pins * Analog pins
*/ */