Date Library

Dependents:   rtc_func

Revision:
0:d2f9a55f0e6d
diff -r 000000000000 -r d2f9a55f0e6d Date.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Date.h	Thu Apr 23 09:38:00 2015 +0000
@@ -0,0 +1,20 @@
+#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();
+public:
+    uint8_t GetMonth();
+public:
+    uint8_t GetYear();
+};
+
+
+#endif
\ No newline at end of file