![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Alarm Clock
Fork of SmartRise_MBED by
TimeControl.h@13:2ba69c3dc08a, 2016-01-27 (annotated)
- Committer:
- pstephens18
- Date:
- Wed Jan 27 04:59:13 2016 +0000
- Revision:
- 13:2ba69c3dc08a
- Parent:
- 6:73866b51e0b7
Mission Accomplished
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
asloop18 | 4:33f3750fe70a | 1 | /********************************************************** |
asloop18 | 4:33f3750fe70a | 2 | * Header for Time management and display for SmartRISE-MBED |
asloop18 | 4:33f3750fe70a | 3 | * |
asloop18 | 4:33f3750fe70a | 4 | * LCD connects RSp28 Ep27, D1-4 p23-26. |
asloop18 | 4:33f3750fe70a | 5 | * Control buttons connected p6-10 |
asloop18 | 4:33f3750fe70a | 6 | * |
asloop18 | 4:33f3750fe70a | 7 | **********************************************************/ |
asloop18 | 4:33f3750fe70a | 8 | #ifndef TimeControl_h |
asloop18 | 4:33f3750fe70a | 9 | #define TimeControl_h |
asloop18 | 4:33f3750fe70a | 10 | |
asloop18 | 4:33f3750fe70a | 11 | #include "mbed.h" |
asloop18 | 4:33f3750fe70a | 12 | |
asloop18 | 4:33f3750fe70a | 13 | char checkAlarm(void); //function to check if programmed alarm time matches current time |
asloop18 | 6:73866b51e0b7 | 14 | void timeDisplay(void); |
asloop18 | 4:33f3750fe70a | 15 | void alarmProg(void); |
asloop18 | 4:33f3750fe70a | 16 | void timeProg(void); |
asloop18 | 4:33f3750fe70a | 17 | void time_init(void); //Declare time var |
asloop18 | 4:33f3750fe70a | 18 | |
asloop18 | 4:33f3750fe70a | 19 | |
asloop18 | 4:33f3750fe70a | 20 | #endif |