Josef Kager
/
rtc_class2
added GetDay() GetYear() GetWeek()
Fork of rtc_class by
Date.h
- Committer:
- KagerJ
- Date:
- 2015-04-30
- Revision:
- 3:75f5352b387d
- Parent:
- 2:ce174a86d215
File content as of revision 3:75f5352b387d:
#include "mbed.h" #include "const.h" #include "RTC8563.h" #ifndef DATE.H #define DATE.H class Date : public RTC8563 { private: uint8_t bcdToUint(uint8_t const nybbles); public: uint8_t GetDay(); uint8_t GetMonth(); uint8_t GetYear(); uint8_t GetWeek(); }; #endif