functions from rtc_func transferred to class RTC8563

Dependencies:   RTC8563 mbed

Fork of rtc_func by HIMBED_3AHELI

Goto Inhalt

Revision:
8:54a6f83a2339
Parent:
6:ebe2350041f1
Child:
9:83be0e4edb52
diff -r 1e1e0af5d32e -r 54a6f83a2339 main.cpp
--- 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
+}
+
+
+
+
+