![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Rtc class
Fork of rtc_class by
Diff: Date.cpp
- Revision:
- 6:a52551f2f398
- Parent:
- 5:fc8c66a7c87a
--- a/Date.cpp Thu Apr 23 09:02:20 2015 +0000 +++ b/Date.cpp Thu Apr 30 10:48:30 2015 +0000 @@ -35,4 +35,12 @@ { uint8_t day = rtc_read(DAYS); return bcdToUint(day & 0x3F); -} \ No newline at end of file +} +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