RTC on M0 and class design without rtc and target

Quote:

Example for training purposes only!!!

RTC/I2C data for target LPC11U24 Humer M0-Board and no data for others!!!

See RTC WIKI

RTC Class Hierarchy

RTC Example Main Program

Committer:
fpucher
Date:
Thu Nov 15 06:55:25 2018 +0000
Revision:
0:397b5462e6d7
ifdef target

Who changed what in which revision?

UserRevisionLine numberNew contents of line
fpucher 0:397b5462e6d7 1 #include "rtc.h"
fpucher 0:397b5462e6d7 2 #include "string"
fpucher 0:397b5462e6d7 3 #include "Date.h"
fpucher 0:397b5462e6d7 4 #include "Time.h"
fpucher 0:397b5462e6d7 5
fpucher 0:397b5462e6d7 6 #ifndef CLOCK_H
fpucher 0:397b5462e6d7 7 #define CLOCK_H
fpucher 0:397b5462e6d7 8
fpucher 0:397b5462e6d7 9 class Clock : public Datestr, public Time
fpucher 0:397b5462e6d7 10 {
fpucher 0:397b5462e6d7 11 private:
fpucher 0:397b5462e6d7 12
fpucher 0:397b5462e6d7 13
fpucher 0:397b5462e6d7 14 public:
fpucher 0:397b5462e6d7 15 Clock(){}
fpucher 0:397b5462e6d7 16 string Print();
fpucher 0:397b5462e6d7 17 };
fpucher 0:397b5462e6d7 18 #endif