Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Marty
#46580 Whew! Thanks a million. --- I had the same problem and was fortunate to find this post. :D :D :D

I'm sure, like most neophytes, I started with the code examples in the libraries and modified them to my requirements.

Looking at all of the sample sketches in the ESP8266WebServer and the ESP8266WiFi libraries, the only sketch that contains the line "WiFi.mode(m") is the WiFiScan sketch.

Is there some resource that I should have seen that explains the requirement for expressing the mode in my sketches?