Re: Simple Examples of webserver
Posted: Sun Apr 26, 2015 5:19 am
Can anyone shed some light on why everything works fine until I restart the module. When I restart the module I have to re-upload the sketch for it to work.
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
digitalWrite(ledPin, HIGH);
client.print("GET http://otherserver:9000/status/on HTTP/1.1\n");
digitalWrite(ledPin, LOW);
client.print("GET http://otherserver:9000/status/off HTTP/1.1\n");