Wolfgang Praschk
/
rtc_class2
rtc_class2
Fork of rtc_class by
Diff: Date.h
- Revision:
- 3:c6081814064d
- Child:
- 4:a4d39c018c65
diff -r f75062350241 -r c6081814064d Date.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Date.h Mon Apr 20 05:53:40 2015 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include "const.h" +#include "RTC8563.h" + +#ifndef DATE_H +#define DATE_H +class Date : public RTC8563 // Date abgeleitet von RTC8563 +{ +private: + uint8_t bcdToUint(uint8_t const nybbles); // private Methode +public: + Date() // Standard Konstruktor + {} + uint8_t GetDay(); // Methode +}; +#endif \ No newline at end of file