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

Fixed Wifi example

This commit is contained in:
Cristian Maglie 2013-03-29 12:04:36 +01:00
parent d88236a033
commit 0e7a434fe8

View File

@ -1,5 +1,5 @@
/*
Web Server
WiFi Web Server
A simple web server that shows the value of the analog input pins.
using a WiFi shield.
@ -15,7 +15,9 @@
by dlf (Metodo2 srl)
modified 31 May 2012
by Tom Igoe
*/
#include <SPI.h>
#include <WiFi.h>
@ -76,7 +78,7 @@ void loop() {
// send a standard http response header
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println("Connnection: close");
client.println("Connection: close");
client.println();
client.println("<!DOCTYPE HTML>");
client.println("<html>");