Update for Rev1
This commit is contained in:
		@@ -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.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
// -----------------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user