mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +03:00
Removed estraneous lines from Web examples
This commit is contained in:
@ -49,10 +49,7 @@ void setup() {
|
|||||||
server.begin();
|
server.begin();
|
||||||
// you're connected now, so print out the status:
|
// you're connected now, so print out the status:
|
||||||
printWifiStatus();
|
printWifiStatus();
|
||||||
// print the Wifi board/shield's IP address:
|
}
|
||||||
Serial.print("My IP address: ");
|
|
||||||
Serial.println(WiFi.localIP());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
@ -59,9 +59,6 @@ void setup() {
|
|||||||
}
|
}
|
||||||
// you're connected now, so print out the status:
|
// you're connected now, so print out the status:
|
||||||
printWifiStatus();
|
printWifiStatus();
|
||||||
// print the Wifi board/shield's IP address:
|
|
||||||
Serial.print("My IP address: ");
|
|
||||||
Serial.println(WiFi.localIP());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -64,9 +64,6 @@ void setup() {
|
|||||||
}
|
}
|
||||||
// you're connected now, so print out the status:
|
// you're connected now, so print out the status:
|
||||||
printWifiStatus();
|
printWifiStatus();
|
||||||
// print the Wifi board/shield's IP address:
|
|
||||||
Serial.print("My IP address: ");
|
|
||||||
Serial.println(WiFi.localIP());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
@ -62,9 +62,6 @@ void setup() {
|
|||||||
}
|
}
|
||||||
// you're connected now, so print out the status:
|
// you're connected now, so print out the status:
|
||||||
printWifiStatus();
|
printWifiStatus();
|
||||||
// print the Wifi board/shield's IP address:
|
|
||||||
Serial.print("My IP address: ");
|
|
||||||
Serial.println(WiFi.localIP());
|
|
||||||
connectToServer();
|
connectToServer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,6 @@ void setup() {
|
|||||||
client.println("Host:www.google.com");
|
client.println("Host:www.google.com");
|
||||||
client.println("Connection: close");
|
client.println("Connection: close");
|
||||||
client.println();
|
client.println();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,9 +48,6 @@ void setup() {
|
|||||||
}
|
}
|
||||||
// you're connected now, so print out the status:
|
// you're connected now, so print out the status:
|
||||||
printWifiStatus();
|
printWifiStatus();
|
||||||
// print the Wifi board/shield's IP address:
|
|
||||||
Serial.print("My IP address: ");
|
|
||||||
Serial.println(WiFi.localIP());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
@ -43,9 +43,6 @@ void setup() {
|
|||||||
server.begin();
|
server.begin();
|
||||||
// you're connected now, so print out the status:
|
// you're connected now, so print out the status:
|
||||||
printWifiStatus();
|
printWifiStatus();
|
||||||
// print the Wifi board/shield's IP address:
|
|
||||||
Serial.print("My IP address: ");
|
|
||||||
Serial.println(WiFi.localIP());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user