Skip to content

Some grammar/spelling fixes #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions libraries/WiFi/examples/SimpleWiFiServer/SimpleWiFiServer.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
WiFi Web Server LED Blink
WiFi Web Server LED Blink

A simple web server that lets you blink an LED via the web.
This sketch will print the IP address of your WiFi Shield (once connected)
@@ -54,7 +54,7 @@ void setup()
}

Serial.println("");
Serial.println("WiFi connected");
Serial.println("WiFi connected.");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());

@@ -68,7 +68,7 @@ void loop(){
WiFiClient client = server.available(); // listen for incoming clients

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
while (client.connected()) { // loop while the client's connected
if (client.available()) { // if there's bytes to read from the client,
@@ -86,8 +86,8 @@ void loop(){
client.println();

// 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=\"/L\">here</a> turn the LED on pin 5 off<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> to turn the LED on pin 5 off.<br>");

// The HTTP response ends with another blank line:
client.println();
@@ -111,6 +111,6 @@ void loop(){
}
// close the connection:
client.stop();
Serial.println("client disonnected");
Serial.println("Client Disconnected.");
}
}