From 43549cd5d7eb4b64ae0b5937353f9a37455303e6 Mon Sep 17 00:00:00 2001 From: Kyle Gabriel Date: Sun, 25 Aug 2019 13:46:03 -0400 Subject: [PATCH] Update for Rev1 --- README.md | 2 ++ main/main.ino | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 64a3723..1975aa4 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ NOTE: There are now 2 versions of the TTGO T-BEAM, the first version (Rev0) and * [mcci-catena/arduino-lmic](https://github.com/mcci-catena/arduino-lmic) * [mikalhart/TinyGPSPlus](https://github.com/mikalhart/TinyGPSPlus) * [ThingPulse/esp8266-oled-ssd1306](https://github.com/ThingPulse/esp8266-oled-ssd1306) + + * Rev1 will also require [lewisxhe/AXP202X_Library](https://github.com/lewisxhe/AXP202X_Library) 3. Edit the library file ```arduino-lmic/project_config/lmic_project_config.h``` and uncomment the proper frequency for your region. diff --git a/main/main.ino b/main/main.ino index 72ea68d..638b16d 100644 --- a/main/main.ino +++ b/main/main.ino @@ -24,6 +24,10 @@ #include "configuration.h" #include "rom/rtc.h" +#ifdef T_BEAM_V10 +#include "axp20x.h" +#endif + // Message counter, stored in RTC memory, survives deep sleep RTC_DATA_ATTR uint32_t count = 0; // -----------------------------------------------------------------------------