29 static const char * ntp_server_;
59 void begin(
long int sync_interval_ms = 600000);
Timer that syncs with NTP server.
void begin(long int sync_interval_ms=600000)
initialise the timer, set a sync interval to sync with NTP server
void print_utc_time()
Print the seconds since epoch.
tm get_utc_time()
Get the utc time now.
time_t get_epoch_time()
Get the seconds since epoch now.