Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
ntp_client_example.cpp File Reference

Demonstrates usage of time_shield::NtpClient. More...

Go to the source code of this file.

Functions

int main ()
 

Detailed Description

Demonstrates usage of time_shield::NtpClient.

This example queries an NTP server, measures the time offset between the local machine and the server, then prints the current time without correction and with the measured offset applied.

Definition in file ntp_client_example.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 16 of file ntp_client_example.cpp.