sforkowany z mirror/meshtastic-firmware
RAK-5005 button pin mapping tweak
rodzic
033e0e99ec
commit
66085d7447
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Ładowanie…
Reference in New Issue