Search found 1 match
- Sat Oct 10, 2020 10:00 pm
- Forum: ESP32 Arduino
- Topic: Best NTP-Time library for ESP32?
- Replies: 15
- Views: 46543
Re: Best NTP-Time library for ESP32?
Hi all, tried a slight modification of the above code for an overnight test and it gained about 3 minutes.. /* * dw from https://esp32.com/viewtopic.php?f=19&t=5188&p=60278&hilit=sntp#p60278 */ #include <WiFi.h> #include <esp_sleep.h> #define NTP_SRV "au.pool.ntp.org" #define NTP_CYCLE 300 // one ho...