.

Dependencies:   mbed

Fork of rtc_func by HIMBED_3AHELI

Revision:
4:357c5386a78c
diff -r f75062350241 -r 357c5386a78c Date.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Date.h	Wed Apr 22 19:31:07 2015 +0000
@@ -0,0 +1,24 @@
+#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
\ No newline at end of file