rtc_class2

Dependencies:   RTC8563 mbed

Fork of rtc_class by HIMBED_3AHELI

Revision:
9:54a6f83a2339
Parent:
7:ebe2350041f1
Child:
10: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
+}
+
+
+
+
+