![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
.
Fork of rtc_func by
Date.h
- Committer:
- Deixi
- Date:
- 2015-04-22
- Revision:
- 4:357c5386a78c
File content as of revision 4:357c5386a78c:
#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(); uint8_t GetMinute(); uint8_t GetHour(); uint8_t GetSecond(); }; #endif