Some grammar/spelling fixes (#438)
This commit is contained in:
parent
8965358bd3
commit
4d47deab24
@ -54,7 +54,7 @@ void setup()
|
|||||||
}
|
}
|
||||||
|
|
||||||
Serial.println("");
|
Serial.println("");
|
||||||
Serial.println("WiFi connected");
|
Serial.println("WiFi connected.");
|
||||||
Serial.println("IP address: ");
|
Serial.println("IP address: ");
|
||||||
Serial.println(WiFi.localIP());
|
Serial.println(WiFi.localIP());
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ void loop(){
|
|||||||
WiFiClient client = server.available(); // listen for incoming clients
|
WiFiClient client = server.available(); // listen for incoming clients
|
||||||
|
|
||||||
if (client) { // if you get a client,
|
if (client) { // if you get a client,
|
||||||
Serial.println("new client"); // print a message out the serial port
|
Serial.println("New Client."); // print a message out the serial port
|
||||||
String currentLine = ""; // make a String to hold incoming data from the client
|
String currentLine = ""; // make a String to hold incoming data from the client
|
||||||
while (client.connected()) { // loop while the client's connected
|
while (client.connected()) { // loop while the client's connected
|
||||||
if (client.available()) { // if there's bytes to read from the client,
|
if (client.available()) { // if there's bytes to read from the client,
|
||||||
@ -86,8 +86,8 @@ void loop(){
|
|||||||
client.println();
|
client.println();
|
||||||
|
|
||||||
// the content of the HTTP response follows the header:
|
// the content of the HTTP response follows the header:
|
||||||
client.print("Click <a href=\"/H\">here</a> turn the LED on pin 5 on<br>");
|
client.print("Click <a href=\"/H\">here</a> to turn the LED on pin 5 on.<br>");
|
||||||
client.print("Click <a href=\"/L\">here</a> turn the LED on pin 5 off<br>");
|
client.print("Click <a href=\"/L\">here</a> to turn the LED on pin 5 off.<br>");
|
||||||
|
|
||||||
// The HTTP response ends with another blank line:
|
// The HTTP response ends with another blank line:
|
||||||
client.println();
|
client.println();
|
||||||
@ -111,6 +111,6 @@ void loop(){
|
|||||||
}
|
}
|
||||||
// close the connection:
|
// close the connection:
|
||||||
client.stop();
|
client.stop();
|
||||||
Serial.println("client disonnected");
|
Serial.println("Client Disconnected.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user