#include #include void setup() { Serial.begin(115200); WiFi.begin("your-ssid", "your-password"); ezTime.setInterval(60); ezTime.waitForSync(); Serial.println(); for (int n = 0; n < 10; n++) { Serial.println(UTC.dateTime("H:i:s.v")); } Serial.println(); Serial.println("Those milliseconds between the first and the last line ..."); Serial.println(); Serial.println(" ... that's how long it took to get them out the serial port."); Serial.println(); Serial.println(); Serial.println(); Serial.println("And ezTime is not making those milliseconds up either."); Serial.println(); Serial.println(" ... Stick around as we do an NTP request every minute."); ezTime.debug(INFO); } void loop() { now(); delay(1000); }