Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Correct example
  • Loading branch information
sandeepmistry committed Apr 12, 2016
1 parent b910b12 commit 3c1d6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -13,10 +13,10 @@ Connect to a NTP server, here is how:
const char *ssid = "<SSID>";
const char *password = "<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).
Expand Down

0 comments on commit 3c1d6b1

Please sign in to comment.