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
Clock.h
- Committer:
- fpucher
- Date:
- 2018-11-15
- Revision:
- 0:397b5462e6d7
File content as of revision 0:397b5462e6d7:
#include "rtc.h" #include "string" #include "Date.h" #include "Time.h" #ifndef CLOCK_H #define CLOCK_H class Clock : public Datestr, public Time { private: public: Clock(){} string Print(); }; #endif