Josef Kager
/
rtc_class2
added GetDay() GetYear() GetWeek()
Fork of rtc_class by
Diff: Date.h
- Revision:
- 2:ce174a86d215
- Child:
- 3:75f5352b387d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Date.h Thu Apr 23 09:42:34 2015 +0000 @@ -0,0 +1,17 @@ +#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(); +}; + +#endif \ No newline at end of file