Alarm Wecker mit LCD- Ausgabe Projekt mit Hevesy und Praschk gmeacht

Dependencies:   LCD RTC8563 Wecker mbed

Fork of Projekt_Wecker_LCD by Wolfgang Praschk

Committer:
wolpra98
Date:
Thu Apr 30 10:38:17 2015 +0000
Revision:
0:bb9c3f242f5a
Projekt for an Alarm-Clock

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wolpra98 0:bb9c3f242f5a 1 #include "mbed.h"
wolpra98 0:bb9c3f242f5a 2 #include "LCD.h"
wolpra98 0:bb9c3f242f5a 3 #include "const.h"
wolpra98 0:bb9c3f242f5a 4 #include "RTC8563.h"
wolpra98 0:bb9c3f242f5a 5 #include "Wecker.h"
wolpra98 0:bb9c3f242f5a 6
wolpra98 0:bb9c3f242f5a 7
wolpra98 0:bb9c3f242f5a 8 Wecker wecker;
wolpra98 0:bb9c3f242f5a 9 int main()
wolpra98 0:bb9c3f242f5a 10 {
wolpra98 0:bb9c3f242f5a 11 wecker.rtc_init();
wolpra98 0:bb9c3f242f5a 12 while(1) {
wolpra98 0:bb9c3f242f5a 13 wecker.printTime();
wolpra98 0:bb9c3f242f5a 14 wecker.printAlarmTime();
wolpra98 0:bb9c3f242f5a 15 wait(0.1);
wolpra98 0:bb9c3f242f5a 16 }
wolpra98 0:bb9c3f242f5a 17 }