1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-26 20:54:22 +01:00

Fix typo in a Ethernet Shield example

This commit is contained in:
Arnie97 2015-12-19 21:10:24 +08:00
parent 0b97e57b2c
commit 89294855fe

View File

@ -89,7 +89,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");
@ -103,5 +103,3 @@ void httpRequest() {
Serial.println("connection failed");
}
}