rtc_class2

Dependencies:   RTC8563 mbed

Fork of rtc_class by HIMBED_3AHELI

Revision:
11:83c6939656e5
Parent:
10:83be0e4edb52
--- a/Date.h	Thu Apr 23 10:44:24 2015 +0000
+++ b/Date.h	Thu Apr 30 10:54:02 2015 +0000
@@ -1,17 +1,3 @@
-/***********************************
-name:   date.h    Version: 0.5
-author: PE HTL BULME
-email:  pe@bulme.at
-description:
-    Real Time Clock (RTC8563) on HIMBED M0 - LPC11U24 
-    class Date inherited from class RTC8563
-    Example methode GetDay implemented 
-ToDo: 
-    implement GetYear, GetMonth;
-    Constructor to initialize Date on RTC
-    Alarm methode
-***********************************/
-
 #include "mbed.h"
 #include "const.h"
 #include "RTC8563.h"
@@ -19,18 +5,18 @@
 
 #ifndef DATE_H
 #define DATE_H
-class Date : public RTC8563 // Date abgeleitet von RTC8563
+class Date : public RTC8563
 {
 protected:
-    uint8_t bcdToUint(uint8_t const nybbles);   // private Methode
+    uint8_t bcdToUint(uint8_t const nybbles);
     string toString(uint8_t value);
 
 public:
-    Date()  // Standard Konstruktor
+    Date()
     {
     }   
-    uint8_t GetDay();   // Methode
-    uint8_t GetDay(int value);   // ueberladene Methode
-    string GetDay(string str);   // ueberladene Methode
+    uint8_t GetDay();
+    uint8_t GetDay(int value);
+    string GetDay(string str);
 };
 #endif
\ No newline at end of file