From db174a218a87979c82befdd92f9301ebb797f43c Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Sun, 27 Dec 2015 18:18:45 -0800 Subject: [PATCH] Minor comment fixes in WebClientRepeating --- examples/WebClientRepeating/WebClientRepeating.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/WebClientRepeating/WebClientRepeating.ino b/examples/WebClientRepeating/WebClientRepeating.ino index c2fc450..1f1e958 100644 --- a/examples/WebClientRepeating/WebClientRepeating.ino +++ b/examples/WebClientRepeating/WebClientRepeating.ino @@ -38,7 +38,7 @@ IPAddress myDns(192, 168, 0, 1); // initialize the library instance: EthernetClient client; -char server[] = "www.arduino.cc"; +char server[] = "www.arduino.cc"; // also change the Host line in httpRequest() //IPAddress server(64,131,82,241); unsigned long lastConnectionTime = 0; // last time you connected to the server, in milliseconds @@ -94,7 +94,7 @@ void httpRequest() { // if there's a successful connection: if (client.connect(server, 80)) { Serial.println("connecting..."); - // send the HTTP PUT request: + // send the HTTP GET request: client.println("GET /latest.txt HTTP/1.1"); client.println("Host: www.arduino.cc"); client.println("User-Agent: arduino-ethernet");