A time interface class. This class replicates the normal time functions, but goes a couple of steps further. mbed library 82 and prior has a defective gmtime function. Also, this class enables access to setting the time, and adjusting the accuracy of the RTC.
Dependents: CI-data-logger-server WattEye X10Svr SSDP_Server
Diff: TimeInterface.h
- Revision:
- 4:9cae2da8215e
- Parent:
- 3:49f36b489b64
- Child:
- 6:c79cfe750416
--- a/TimeInterface.h Sat Jun 28 19:49:26 2014 +0000 +++ b/TimeInterface.h Mon Jan 19 13:36:15 2015 +0000 @@ -2,6 +2,7 @@ #ifndef TIMEINTERFACE_H #define TIMEINTERFACE_H #include "mbed.h" +#include <ctime> #include "NTPClient.h" // ver 4 Donatien Garnier