From 3c1d6b1c1814a3ea6e12ca476d1b07520552e00b Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Tue, 12 Apr 2016 09:35:34 -0400 Subject: [PATCH] Update README.md Correct example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9166f24..7dcad4b 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ Connect to a NTP server, here is how: const char *ssid = ""; const char *password = ""; -WiFiUDP ntpUDP(ntpUDP); +WiFiUDP ntpUDP; // By default 'time.nist.gov' is used. -NTPClient timeClient; +NTPClient timeClient(ntpUDP); // You can specify the time server pool and the offset, (in seconds) // additionaly you can specify the update interval (in milliseconds).