Whitworth-EN173-2016
/
SmartRise_MBED
Alarm Clock
Fork of SmartRise_MBED by
Revision 13:2ba69c3dc08a, committed 2016-01-27
- Comitter:
- pstephens18
- Date:
- Wed Jan 27 04:59:13 2016 +0000
- Parent:
- 12:f42b74f76630
- Commit message:
- Mission Accomplished
Changed in this revision
TimeControl.cpp | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f42b74f76630 -r 2ba69c3dc08a TimeControl.cpp --- a/TimeControl.cpp Wed Jan 27 04:46:00 2016 +0000 +++ b/TimeControl.cpp Wed Jan 27 04:59:13 2016 +0000 @@ -19,7 +19,7 @@ void time_init(void){ //starting time and timers set.start(); - set_time(1454284799); + set_time(1454284799+10); AHH=12;Amm=0; }
diff -r f42b74f76630 -r 2ba69c3dc08a main.cpp --- a/main.cpp Wed Jan 27 04:46:00 2016 +0000 +++ b/main.cpp Wed Jan 27 04:59:13 2016 +0000 @@ -28,12 +28,11 @@ } if(timeSW==1)timeProg(); // Activate using black switch - if(AlarmAdjust==1) alarmProg(); // Activate using Blue button with switch closed - led2 = 1; + if(AlarmAdjust==1) alarmProg(); // Activate using Blue button with switch closed } } - + \ No newline at end of file