Demo of working sleep and deepsleep commands. mbed's version currently does not
Dependencies: mbed
Fork of DipCortex-SleepyTime by
Diff: main.cpp
- Revision:
- 1:03baf535e2fc
- Parent:
- 0:d616150fefca
--- 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