button update for DIY and boards with no button

This commit is contained in:
richonguzman 2025-01-02 12:05:43 -03:00
parent c425a9adc5
commit 18fe686b2d
15 changed files with 25 additions and 17 deletions

View File

@ -23,7 +23,8 @@
#define GPS_RX 12 #define GPS_RX 12
#define GPS_TX 34 #define GPS_TX 34
// OTHER // OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k #define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k
#endif #endif

View File

@ -23,7 +23,8 @@
#define GPS_RX 12 #define GPS_RX 12
#define GPS_TX 34 #define GPS_TX 34
// OTHER // OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k #define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k
#endif #endif

View File

@ -27,9 +27,9 @@
#define GPS_RX 17 #define GPS_RX 17
#define GPS_TX 16 #define GPS_TX 16
// OTHER // OTHER
#define BATTERY_PIN 35
#define BUTTON_PIN 15 #define BUTTON_PIN 15
#define BATTERY_PIN 35
#define HAS_BT_CLASSIC #define HAS_BT_CLASSIC

View File

@ -27,9 +27,9 @@
#define GPS_RX 17 #define GPS_RX 17
#define GPS_TX 16 #define GPS_TX 16
// OTHER // OTHER
#define BATTERY_PIN 35
#define BUTTON_PIN 15 #define BUTTON_PIN 15
#define BATTERY_PIN 35
#define HAS_BT_CLASSIC #define HAS_BT_CLASSIC

View File

@ -27,7 +27,7 @@
#define GPS_RX 17 #define GPS_RX 17
#define GPS_TX 16 #define GPS_TX 16
// OTHER // OTHER
#define BUTTON_PIN 15 #define BUTTON_PIN 15
#define BATTERY_PIN 35 #define BATTERY_PIN 35

View File

@ -23,7 +23,8 @@
#define GPS_RX 12 #define GPS_RX 12
#define GPS_TX 34 #define GPS_TX 34
// OTHER // OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k #define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k
#define HAS_BT_CLASSIC #define HAS_BT_CLASSIC

View File

@ -23,7 +23,8 @@
#define GPS_RX 12 #define GPS_RX 12
#define GPS_TX 34 #define GPS_TX 34
// OTHER // OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k #define BATTERY_PIN 35 //LoRa32 Battery PIN 100k/100k
#define HAS_BT_CLASSIC #define HAS_BT_CLASSIC

View File

@ -29,7 +29,7 @@
#define GPS_TX 18 #define GPS_TX 18
#define GPS_VCC 33 //#define LED_PIN 16 #define GPS_VCC 33 //#define LED_PIN 16
// OTHER // OTHER
#define BUTTON_PIN 0 #define BUTTON_PIN 0
#define BATTERY_PIN 1 #define BATTERY_PIN 1

View File

@ -24,7 +24,7 @@
#define GPS_RX 47 #define GPS_RX 47
#define GPS_TX 48 #define GPS_TX 48
// OTHER // OTHER
#define BUTTON_PIN 0 #define BUTTON_PIN 0
#define BATTERY_PIN 1 #define BATTERY_PIN 1
#define VEXT_CTRL 36 #define VEXT_CTRL 36

View File

@ -24,7 +24,7 @@
#define GPS_RX 47 #define GPS_RX 47
#define GPS_TX 48 #define GPS_TX 48
// OTHER // OTHER
#define BUTTON_PIN 0 #define BUTTON_PIN 0
#define BATTERY_PIN 1 #define BATTERY_PIN 1
#define VEXT_CTRL 36 #define VEXT_CTRL 36

View File

@ -26,7 +26,7 @@
#define GPS_RX 12 #define GPS_RX 12
#define GPS_TX 34 #define GPS_TX 34
// OTHER // OTHER
#define BUTTON_PIN 38 // The middle button GPIO on the T-Beam #define BUTTON_PIN 38 // The middle button GPIO on the T-Beam
#define HAS_AXP2101 #define HAS_AXP2101

View File

@ -23,7 +23,8 @@
#define GPS_RX 12 #define GPS_RX 12
#define GPS_TX 34 #define GPS_TX 34
// OTHER // OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 #define BATTERY_PIN 35
#define HAS_BT_CLASSIC #define HAS_BT_CLASSIC

View File

@ -23,7 +23,8 @@
#define GPS_RX 12 #define GPS_RX 12
#define GPS_TX 34 #define GPS_TX 34
// OTHER // OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 #define BATTERY_PIN 35
#define HAS_BT_CLASSIC #define HAS_BT_CLASSIC

View File

@ -24,7 +24,8 @@
#define GPS_RX -1 #define GPS_RX -1
#define GPS_TX -1 #define GPS_TX -1
// OTHER // OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 #define BATTERY_PIN 35
#define HAS_BT_CLASSIC #define HAS_BT_CLASSIC

View File

@ -24,7 +24,8 @@
#define GPS_RX -1 #define GPS_RX -1
#define GPS_TX -1 #define GPS_TX -1
// OTHER // OTHER
#define BUTTON_PIN 15
#define BATTERY_PIN 35 #define BATTERY_PIN 35
#define HAS_BT_CLASSIC #define HAS_BT_CLASSIC