Brendan Kelly
/
mDot_helloworld_bk_sleep
An attempt to sleep an mDot
Fork of mDot_helloworld_bk by
Revision 6:5fc728e59130, committed 2017-08-21
- Comitter:
- kellybs1
- Date:
- Mon Aug 21 05:01:57 2017 +0000
- Parent:
- 5:4f89c0fcbe59
- Commit message:
- Working version.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4f89c0fcbe59 -r 5fc728e59130 main.cpp --- a/main.cpp Wed Aug 09 02:39:46 2017 +0000 +++ b/main.cpp Mon Aug 21 05:01:57 2017 +0000 @@ -21,7 +21,7 @@ logInfo("Hello world! I am an mDot counting %d", count); // go to sleep and wake up automatically sleep_time seconds later uint32_t sleep_time = 5; - //false is "don't deep sleep - mDot doesn't do that + //false is "don't deep sleep" - mDot doesn't do that dot->sleep(sleep_time, mDot::RTC_ALARM, false); printf("\r\n\r\n"); }