Here it is ...
Dependencies: libxDot-mbed5 TSL2561
Fork of Dot-Examples by
Diff: examples/src/ota_example.cpp~
- Revision:
- 39:0d4362063352
- Parent:
- 37:4818522075f8
- Child:
- 40:314e6b1c289f
--- a/examples/src/ota_example.cpp~ Wed Jul 25 18:30:01 2018 +0000 +++ b/examples/src/ota_example.cpp~ Thu Jul 26 12:03:47 2018 -0400 @@ -1,6 +1,6 @@ #include "dot_util.h" #include "RadioEvent.h" - +#include "TSL2561.h" #if ACTIVE_EXAMPLE == OTA_EXAMPLE @@ -37,7 +37,7 @@ // in sleep mode, IO state is maintained, RAM is retained, and application will resume after waking up // in deepsleep mode, IOs float, RAM is lost, and application will start from beginning after waking up // if deep_sleep == true, device will enter deepsleep mode -static bool deep_sleep = false; +static bool deep_sleep = true; mDot* dot = NULL; lora::ChannelPlan* plan = NULL;