![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
real time clock...Marcel Reath
Fork of rtc_func by
Date.h
- Committer:
- MarcelReath
- Date:
- 2015-04-22
- Revision:
- 4:f3adf7e6dd40
File content as of revision 4:f3adf7e6dd40:
#include "mbed.h" #include "const.h" #include "RTC8563.h" #include "string" #ifndef DATE_H #define DATE_H class Date : public RTC8563 // Date abgeleitet von RTC8563 { private: uint8_t bcdToUint(uint8_t const nybbles); // private Methode string toString(uint8_t value); public: Date() // Standard Konstruktor {} uint8_t GetDay(); // Methode uint8_t GetMonth(); uint8_t GetYear(); }; #endif