RAK4631 analogue user button on input 31

This commit is contained in:
Adam Mealings committed 2025-05-14 21:46:39 +01:00
1 parent d072e7b575
commit faf043327d
3 files changed
+43 -29

No files matched your search

+3
View File
@@ -25,6 +25,9 @@ void RAK4631Board::begin() {
#ifdef PIN_USER_BTN
pinMode(PIN_USER_BTN, INPUT_PULLUP);
#endif
#ifdef PIN_USER_BTN_ANA
pinMode(PIN_USER_BTN_ANA, INPUT_PULLUP);
#endif
#if defined(PIN_BOARD_SDA) && defined(PIN_BOARD_SCL)
Wire.setPins(PIN_BOARD_SDA, PIN_BOARD_SCL);