Skip to content

Commit

Permalink
Minor comment fixes in WebClientRepeating
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Dec 28, 2015
1 parent 7c9db9c commit db174a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/WebClientRepeating/WebClientRepeating.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit db174a2

Please sign in to comment.