![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Alarm Clock
Fork of SmartRise_MBED by
Diff: Alarm.cpp
- Revision:
- 12:f42b74f76630
- Parent:
- 11:be164273b969
--- a/Alarm.cpp Wed Jan 27 02:03:43 2016 +0000 +++ b/Alarm.cpp Wed Jan 27 04:46:00 2016 +0000 @@ -16,7 +16,7 @@ void Sound_Alarm() { - while(go) + while(go) // Plays Star Wars { led1 = !led1; wait(.5); @@ -31,7 +31,7 @@ { buzzer1 = 0; buzzer2 = 0; - reset.attach(&turn_on,60.0); + reset.attach(&turn_on,60.0); // Exit then Re-enable the alarm system after 60 seconds break; } @@ -52,7 +52,7 @@ { buzzer1 = 0; buzzer2 = 0; - reset.attach(&turn_on,60.0); + reset.attach(&turn_on,60.0); // Exit then Re-enable the alarm system after 60 seconds break; }