![](/media/cache/profiles/4cd5a0b6bc293f1e306e0d23170d649c.jpg.50x50_q85.jpg)
rtc class
Fork of rtc_class by
Diff: DateString.cpp
- Revision:
- 8:54a6f83a2339
- Parent:
- 7:1e1e0af5d32e
--- a/DateString.cpp Thu Apr 23 10:14:42 2015 +0000 +++ b/DateString.cpp Thu Apr 23 10:43:38 2015 +0000 @@ -12,4 +12,18 @@ // 3. Erweitern von Methoden der Basisklasse day = day-5; return day; -} \ No newline at end of file +} + +// 4. Definieren neuer Methoden +uint8_t DateString::GetNextDay() +{ + uint8_t day = GetDay(); + return ++day; +} + + + + + + +