rtc_class2

Dependencies:   RTC8563 mbed

Fork of rtc_class by HIMBED_3AHELI

Revision:
9:54a6f83a2339
Parent:
7:ebe2350041f1
Child:
10:83be0e4edb52
--- a/Date.cpp	Thu Apr 23 10:14:42 2015 +0000
+++ b/Date.cpp	Thu Apr 23 10:43:38 2015 +0000
@@ -35,4 +35,14 @@
 {
     uint8_t day = rtc_read(DAYS);
     return bcdToUint(day & 0x3F);
+}
+// ueberladene Methoden von GetDay
+uint8_t Date::GetDay(int value)   
+{
+    return value;
+}
+string Date::GetDay(string str)
+{
+    string day = str + " In Date Day: " + toString(GetDay());
+    return day;
 }
\ No newline at end of file