![](/media/cache/profiles/4cd5a0b6bc293f1e306e0d23170d649c.jpg.50x50_q85.jpg)
rtc class
Fork of rtc_class by
Diff: Date.cpp
- Revision:
- 8:54a6f83a2339
- Parent:
- 6:ebe2350041f1
- Child:
- 9: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