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
Revision 4:9cae2da8215e, committed 2015-01-19
- Comitter:
- WiredHome
- Date:
- Mon Jan 19 13:36:15 2015 +0000
- Parent:
- 3:49f36b489b64
- Child:
- 5:a5f50b5fb856
- Commit message:
- include <ctime>
Changed in this revision
TimeInterface.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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