Johannes Mayerhofer
/
rtc_class2
Original programm
Fork of rtc_class by
Diff: main.cpp
- Revision:
- 8:54a6f83a2339
- Parent:
- 6:ebe2350041f1
- Child:
- 9:83be0e4edb52
--- a/main.cpp Thu Apr 23 10:14:42 2015 +0000 +++ b/main.cpp Thu Apr 23 10:43:38 2015 +0000 @@ -26,7 +26,14 @@ DateString rtc; // instanziieren des Objektes rtc while(1) { - pc.printf("Date.Day: %i\n", rtc.GetDay()); + pc.printf("DateString.Day: %i\n", rtc.GetDay()); + pc.printf("DateString.NextDay: %i\n", rtc.GetNextDay()); + pc.printf("Ueberladen GetDay: %s\n", rtc.GetDay("Where am I?")); wait(1); } -} \ No newline at end of file +} + + + + +