NTPClient
NTPClient copied to clipboard
Connect to a NTP server
I'm writing an app for a clock (of course..) and have been using this library for the last few weeks. I run my own ntp server (rasp pi on gps,...
If is needed to change on the fly the ip address of the timeserver instead of the nameserver.
Is there a way to set the update to manual? Or change it to daily? Thank you very much in advance!
Also eliminated some dup calc code between getHours/Minutes/Seconds and getFormattedTime. Fully backwards compatible.
Addresses #133. Improves upon #28 (not merged).
This commit does not affect normal case. Even if UDP transfer fails for any reasons in sendNTPPacket, it can be recovered by re-initialization.
Currently, `update()` returns _false_ only when an update fails during the call to `forceUpdate()`. This behavior is potentially useful for debugging. However, two other things can happen during `update()`: a...
Until now the fraction of the second was not taken into account. Therefore the resulting time offset is up to 1000 ms. Using the provided Information increases the accuracy of...
Added methods for working with Date component
* increase time accuracy to not above 100ms * complete decimal part of NTP * use high-freq polling * add _current_epoc_dec and get_millis() so that ms can be known *...