rtc class

Dependencies:   RTC8563 mbed

Fork of rtc_class by HIMBED_3AHELI

Revision:
6:ebe2350041f1
Parent:
5:fc8c66a7c87a
Child:
8:54a6f83a2339
diff -r fc8c66a7c87a -r ebe2350041f1 main.cpp
--- a/main.cpp	Thu Apr 23 09:02:20 2015 +0000
+++ b/main.cpp	Thu Apr 23 10:12:17 2015 +0000
@@ -1,5 +1,5 @@
 /***********************************
-name:   main.cpp    Version: 0.1
+name:   main.cpp    Version: 0.3
 author: PE HTL BULME
 email:  pe@bulme.at
 description:
@@ -15,14 +15,15 @@
 #include "RTC8563.h"
 #include "string"
 #include "Date.h"
- 
+#include "DateString.h"
+
 Serial pc(USBTX, USBRX);
  
 uint8_t year, month, day;
 
 int main()
 {
-    Date rtc;  // instanziieren des Objektes rtc
+    DateString rtc;  // instanziieren des Objektes rtc
  
     while(1) {
         pc.printf("Date.Day: %i\n", rtc.GetDay());