An attempt to sleep an mDot

Dependencies:   libmDot-mbed5

Fork of mDot_helloworld_bk by Brendan Kelly

Files at this revision

API Documentation at this revision

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
--- 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"); 
     }