Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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
