Whitworth-EN173-2016
/
SmartRise_MBED
Alarm Clock
Fork of SmartRise_MBED by
Diff: TimeControl.h
- Revision:
- 4:33f3750fe70a
- Parent:
- 3:51b248042aa0
- Child:
- 6:73866b51e0b7
diff -r 51b248042aa0 -r 33f3750fe70a TimeControl.h --- a/TimeControl.h Mon Jan 25 21:08:47 2016 +0000 +++ b/TimeControl.h Tue Jan 26 00:47:00 2016 +0000 @@ -0,0 +1,20 @@ +/********************************************************** +* Header for Time management and display for SmartRISE-MBED +* +* LCD connects RSp28 Ep27, D1-4 p23-26. +* Control buttons connected p6-10 +* +**********************************************************/ +#ifndef TimeControl_h +#define TimeControl_h + +#include "mbed.h" + +char checkAlarm(void); //function to check if programmed alarm time matches current time +void timeDispay(void); +void alarmProg(void); +void timeProg(void); +void time_init(void); //Declare time var + + +#endif \ No newline at end of file