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; // -----------------------------------------------------------------------------