Alarm Clock

Dependencies:   TextLCD mbed

Fork of SmartRise_MBED by Austin Sloop

Committer:
asloop18
Date:
Tue Jan 26 00:47:00 2016 +0000
Revision:
4:33f3750fe70a
Parent:
3:51b248042aa0
Child:
6:73866b51e0b7
Time functions move in progress to CPP

Who changed what in which revision?

UserRevisionLine numberNew 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 4:33f3750fe70a 14 void timeDispay(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