![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
rtc_class
Fork of rtc_class by
Date.h
- Committer:
- Gm_070
- Date:
- 2015-04-30
- Revision:
- 11:83c6939656e5
- Parent:
- 9:83be0e4edb52
File content as of revision 11:83c6939656e5:
#include "mbed.h" #include "const.h" #include "RTC8563.h" #include "string" #ifndef DATE_H #define DATE_H class Date : public RTC8563 { protected: uint8_t bcdToUint(uint8_t const nybbles); string toString(uint8_t value); public: Date() { } uint8_t GetDay(); uint8_t GetDay(int value); string GetDay(string str); }; #endif