Demo of working sleep and deepsleep commands. mbed's version currently does not

Dependencies:   mbed

Fork of DipCortex-SleepyTime by Carl - SolderSplash Labs

Files at this revision

API Documentation at this revision

Comitter:
SolderSplashLabs
Date:
Thu Nov 14 22:38:45 2013 +0000
Parent:
0:d616150fefca
Commit message:
Removed ticker

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d616150fefca -r 03baf535e2fc main.cpp
--- a/main.cpp	Thu Nov 14 22:31:45 2013 +0000
+++ b/main.cpp	Thu Nov 14 22:38:45 2013 +0000
@@ -5,8 +5,6 @@
 
 DigitalOut Led2(P1_22);
 
-Ticker timer;
-
 void sleep_normal ( void )
 {
     // PCON[PD] set to sleep