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 31:c692c48e79bb, committed 2020-04-03
- Comitter:
- WiredHome
- Date:
- Fri Apr 03 23:17:03 2020 +0000
- Parent:
- 28:3fa154ab6ffd
- Child:
- 32:00ee2ad29da0
- Commit message:
- Disable the DEBUG setting
Changed in this revision
NTPClient/NTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/NTPClient/NTPClient.cpp Sun Jan 12 23:02:30 2020 +0000 +++ b/NTPClient/NTPClient.cpp Fri Apr 03 23:17:03 2020 +0000 @@ -24,7 +24,7 @@ #include "NTPClient.h" -#define DEBUG "NTPc" +//#define DEBUG "NTPc" #if (defined(DEBUG)) #include <cstdio>