/* This is a minimal sketch to enable the ESP8266-01 WiFi Shield to be * put into config mode so that your network's wifi and other parameters can be set * * After programming this sketch, attache the shield to the Arduino Uno or similar * and short out the CONFIG_LINK and then power up the Arduino * The WiFi shield will create a temporary Access Point called pfodWifiWebConfig * with the password you coded into the ESP8266-01 module. * Connect to that access point and open http://10.1.1.1 to complete the configuration * * (c)2014-2015 Forward Computing and Control Pty. Ltd. * NSW Australia, www.forward.com.au * This generated code may be freely used for both private and commerical use */ void setup() { // put your setup code here, to run once: delay(1000); // wait here for a second let ESP8266 complete powering up // before making D2 LOW // this also skips the WiFi Shield's debug output on power up // before starting the Serial connection. pinMode(2,OUTPUT); digitalWrite(2,LOW); // enable grounding of GPIO2 only after ESP8266 starts up } void loop() { // put your main code here, to run repeatedly: }