From 7ce1019dd0aa65f47be7ee28d33073fffcdd7512 Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Mon, 23 Apr 2012 11:33:42 -0400 Subject: [PATCH] Removed estraneous lines from Web examples --- WiFi/examples/WifiChatServer/WifiChatServer.ino | 5 +---- WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino | 3 --- .../WifiPachubeClientString/WifiPachubeClientString.ino | 3 --- WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino | 3 --- WiFi/examples/WifiWebClient/WifiWebClient.ino | 1 - .../WifiWebClientRepeating/WifiWebClientRepeating.ino | 3 --- WiFi/examples/WifiWebServer/WifiWebServer.ino | 3 --- 7 files changed, 1 insertion(+), 20 deletions(-) diff --git a/WiFi/examples/WifiChatServer/WifiChatServer.ino b/WiFi/examples/WifiChatServer/WifiChatServer.ino index d9112e625..8b6698f40 100644 --- a/WiFi/examples/WifiChatServer/WifiChatServer.ino +++ b/WiFi/examples/WifiChatServer/WifiChatServer.ino @@ -49,10 +49,7 @@ void setup() { server.begin(); // you're connected now, so print out the status: printWifiStatus(); - // print the Wifi board/shield's IP address: - Serial.print("My IP address: "); - Serial.println(WiFi.localIP()); -} + } void loop() { diff --git a/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino b/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino index 09e968e0a..6e447416f 100644 --- a/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino +++ b/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino @@ -59,9 +59,6 @@ void setup() { } // you're connected now, so print out the status: printWifiStatus(); - // print the Wifi board/shield's IP address: - Serial.print("My IP address: "); - Serial.println(WiFi.localIP()); } diff --git a/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino b/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino index e347459f6..57f2a7530 100644 --- a/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino +++ b/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino @@ -64,9 +64,6 @@ void setup() { } // you're connected now, so print out the status: printWifiStatus(); - // print the Wifi board/shield's IP address: - Serial.print("My IP address: "); - Serial.println(WiFi.localIP()); } void loop() { diff --git a/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino b/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino index b02da2103..8bf7bb2c2 100644 --- a/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino +++ b/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino @@ -62,9 +62,6 @@ void setup() { } // you're connected now, so print out the status: printWifiStatus(); - // print the Wifi board/shield's IP address: - Serial.print("My IP address: "); - Serial.println(WiFi.localIP()); connectToServer(); } diff --git a/WiFi/examples/WifiWebClient/WifiWebClient.ino b/WiFi/examples/WifiWebClient/WifiWebClient.ino index 783761135..f6a3cdf23 100644 --- a/WiFi/examples/WifiWebClient/WifiWebClient.ino +++ b/WiFi/examples/WifiWebClient/WifiWebClient.ino @@ -62,7 +62,6 @@ void setup() { client.println("Host:www.google.com"); client.println("Connection: close"); client.println(); - } } diff --git a/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino b/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino index f4c71c6c7..8e5b88547 100644 --- a/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino +++ b/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino @@ -48,9 +48,6 @@ void setup() { } // you're connected now, so print out the status: printWifiStatus(); - // print the Wifi board/shield's IP address: - Serial.print("My IP address: "); - Serial.println(WiFi.localIP()); } void loop() { diff --git a/WiFi/examples/WifiWebServer/WifiWebServer.ino b/WiFi/examples/WifiWebServer/WifiWebServer.ino index b4cbce6c6..34a231b5c 100644 --- a/WiFi/examples/WifiWebServer/WifiWebServer.ino +++ b/WiFi/examples/WifiWebServer/WifiWebServer.ino @@ -43,9 +43,6 @@ void setup() { server.begin(); // you're connected now, so print out the status: printWifiStatus(); - // print the Wifi board/shield's IP address: - Serial.print("My IP address: "); - Serial.println(WiFi.localIP()); }