![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
my programm rtc_class with functions in Date.cpp
Fork of rtc_func by
Diff: DateString.cpp
- Revision:
- 3:75f5352b387d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DateString.cpp Thu Apr 30 10:53:00 2015 +0000 @@ -0,0 +1,11 @@ +#include "DateString.h" +#include "RTC8563.h" + +//2. Methode überschreiben +uint8_t DateSting::GetDay() +{ + uint8_t day= Date::GetDay(); //Aufruf der GetDay- Methode aus Basisklasse Date mit Scope Operator + //Erweitern von Methoden der Basisklasse + day = day - 5; + return day; +} \ No newline at end of file