Update for Rev1
This commit is contained in:
parent
bb9a6ebf31
commit
43549cd5d7
@ -19,6 +19,8 @@ NOTE: There are now 2 versions of the TTGO T-BEAM, the first version (Rev0) and
|
|||||||
* [mikalhart/TinyGPSPlus](https://github.com/mikalhart/TinyGPSPlus)
|
* [mikalhart/TinyGPSPlus](https://github.com/mikalhart/TinyGPSPlus)
|
||||||
* [ThingPulse/esp8266-oled-ssd1306](https://github.com/ThingPulse/esp8266-oled-ssd1306)
|
* [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.
|
3. Edit the library file ```arduino-lmic/project_config/lmic_project_config.h``` and uncomment the proper frequency for your region.
|
||||||
|
|
||||||
4. Edit this project file ```main/configuration.h``` and select your correct board revision, either T_BEAM_V07 or T_BEAM_V10 (see [T-BEAM Board Versions](#t-beam-board-versions) to determine which board revision you have).
|
4. Edit this project file ```main/configuration.h``` and select your correct board revision, either T_BEAM_V07 or T_BEAM_V10 (see [T-BEAM Board Versions](#t-beam-board-versions) to determine which board revision you have).
|
||||||
|
@ -24,6 +24,10 @@
|
|||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
#include "rom/rtc.h"
|
#include "rom/rtc.h"
|
||||||
|
|
||||||
|
#ifdef T_BEAM_V10
|
||||||
|
#include "axp20x.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// Message counter, stored in RTC memory, survives deep sleep
|
// Message counter, stored in RTC memory, survives deep sleep
|
||||||
RTC_DATA_ATTR uint32_t count = 0;
|
RTC_DATA_ATTR uint32_t count = 0;
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user