button update for DIY and boards with no button
This commit is contained in:
parent
c425a9adc5
commit
18fe686b2d
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue