gmag11 / ESPNtpClient

High accuracy NTP library for ESP32 and ESP8266
MIT License
118 stars 25 forks source link

compatibility #8

Closed stef-ladefense closed 3 years ago

stef-ladefense commented 3 years ago

very good for this new library 👍

please make full compatibility with your old library -> bool NTPClient::begin (String ntpServerName, int8_t timeZone, bool daylight, int8_t minutes, AsyncUDP* udp_conn)

thx thx thx

gmag11 commented 3 years ago

Sorry, I've tried to keep this as similar as possible but library internals is very different. For instance, it may not use UDP class anymore and time zone / daylight parameters are passed in a completely different way. Check examples, it is very easy to modify your code to get it working.