t-beams validadas y radiolib710
This commit is contained in:
parent
846056b845
commit
68ac02dc4e
|
|
@ -30,7 +30,7 @@ lib_deps =
|
||||||
adafruit/Adafruit BME680 Library @ 2.0.4
|
adafruit/Adafruit BME680 Library @ 2.0.4
|
||||||
bblanchon/ArduinoJson @ 6.21.3
|
bblanchon/ArduinoJson @ 6.21.3
|
||||||
h2zero/NimBLE-Arduino @ 1.4.1
|
h2zero/NimBLE-Arduino @ 1.4.1
|
||||||
jgromes/RadioLib @ 6.6.0
|
jgromes/RadioLib @ 7.1.0
|
||||||
mathieucarbou/AsyncTCP @ 3.2.5
|
mathieucarbou/AsyncTCP @ 3.2.5
|
||||||
mathieucarbou/ESPAsyncWebServer @ 3.2.3
|
mathieucarbou/ESPAsyncWebServer @ 3.2.3
|
||||||
mikalhart/TinyGPSPlus @ 1.0.3
|
mikalhart/TinyGPSPlus @ 1.0.3
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
#define POWER_UTILS_H_
|
#define POWER_UTILS_H_
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
#include "board_pinout.h"
|
||||||
#if defined(HAS_AXP2101) || defined(HAS_AXP192)
|
#if defined(HAS_AXP2101) || defined(HAS_AXP192)
|
||||||
#include "XPowersLib.h"
|
#include "XPowersLib.h"
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
#include "APRSPacketLib.h"
|
#include "APRSPacketLib.h"
|
||||||
#include "battery_utils.h"
|
#include "battery_utils.h"
|
||||||
|
#include "board_pinout.h"
|
||||||
#include "power_utils.h"
|
#include "power_utils.h"
|
||||||
#include "menu_utils.h"
|
#include "menu_utils.h"
|
||||||
#include "msg_utils.h"
|
#include "msg_utils.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
#include "board_pinout.h"
|
||||||
#include "sleep_utils.h"
|
#include "sleep_utils.h"
|
||||||
#include "power_utils.h"
|
#include "power_utils.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,10 @@
|
||||||
#define GPS_RX 15
|
#define GPS_RX 15
|
||||||
#define GPS_TX 12
|
#define GPS_TX 12
|
||||||
|
|
||||||
// OTHER
|
// OTHER
|
||||||
#define BUTTON_PIN 39 // The middle button GPIO on the T-Beam
|
#define BUTTON_PIN 39 // The middle button GPIO on the T-Beam
|
||||||
#define BATTERY_PIN 35
|
#define BATTERY_PIN 35
|
||||||
|
|
||||||
#define HAS_BT_CLASSIC
|
#define HAS_BT_CLASSIC
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
[env:ttgo-t-beam-v0_7]
|
[env:ttgo-t-beam-v0_7]
|
||||||
extends = env:esp32
|
extends = env:esp32
|
||||||
board = ttgo-t-beam
|
board = ttgo-t-beam
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,10 @@
|
||||||
#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_AXP192
|
#define HAS_AXP192
|
||||||
#define HAS_BT_CLASSIC
|
#define HAS_BT_CLASSIC
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -24,10 +24,10 @@
|
||||||
#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
|
||||||
#define HAS_BT_CLASSIC
|
#define HAS_BT_CLASSIC
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -24,10 +24,10 @@
|
||||||
#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
|
||||||
#define HAS_BT_CLASSIC
|
#define HAS_BT_CLASSIC
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -24,10 +24,10 @@
|
||||||
#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_AXP192
|
#define HAS_AXP192
|
||||||
#define HAS_BT_CLASSIC
|
#define HAS_BT_CLASSIC
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Loading…
Reference in New Issue