i am trying to develop an app that needs to keep time updated, i am trying to decypher NTP-TZ-DST example (whic is very complete/complicated, ntp feature is not even mentioned in online documentation!), after reading i noted the only important line is 254:
Code: Select all
// ----> Here is the ONLY ONE LINE needed in your sketch
configTime(MYTZ, "pool.ntp.org");
// <----