![](/media/cache/group/HIMBED0.jpg.50x50_q85.jpg)
functions from rtc_func transferred to class RTC8563
Fork of rtc_func by
Goto Inhalt
DateString.cpp
- Committer:
- bulmecisco
- Date:
- 2015-04-23
- Revision:
- 6:ebe2350041f1
- Child:
- 7:1e1e0af5d32e
File content as of revision 6:ebe2350041f1:
#include "DateString.h" #include "RTC8563.h" // 2. Methode ueberschreiben uint8_t DateString::GetDay() { //uint8_t day = rtc_read(DAYS); //return bcdToUint(day & 0x3F); uint8_t day = Date::GetDay(); // Aufruf der GetDay-Methode aus Basisklasse Date mit Scope-Operator // 3. Erweitern von Methoden der Basisklasse day = day-5; return day; }