So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By ntsecrets
#63784 So I'm trying to build a super accurate SNTP clock, I have 2 adafruit 7 segment display backpacks hooked up and it can show hours,min,sec,tenths and hundredths of a second just fine. It has a web interface for configuring the time zone, ntp server, wifi config etc. Everything works great, except that it doesn't sync closer than 1 second to actual time. It seems to have a slop of up to 1 second. I'm guessing this is due to the precision of the Time library. I've tried many different NTP examples, all which don't seem to account for network delay etc, but I think the time precision is a bigger issue. I'm using the NTP wrapper https://github.com/stelgenhof/NTPClient which seems to use the SDK sntp library which works great. So, anyone know how to sync the time closer than 1 second? I'd be happy with within .2 seconds!