-->
Page 2 of 2

Re: WiFiMulti not working

PostPosted: Sun Jul 16, 2017 10:15 am
by surya arief
schufti wrote:
const int led = 7; //pin on GPIO13 connected to LED


are you decided yet if the LED is on gpio 7 or 13 ?

If you intend to use nodemcu pin marked "D7" you should write
const int led = D7
or alternatively
const int led = 13

maybe that will make your code work ....

Still not word, const int led = 7 is not the problem,
The problem is I need esp8266 as accespoint, so if there is client connect, then led is on.

Re: WiFiMulti not working

PostPosted: Mon Jul 17, 2017 3:37 pm
by gbafamily1
Three examples of using ESP8266 in AP mode are included. See below or in the IDE click on File -> Examples -> DNSServer

https://github.com/esp8266/Arduino/tree ... r/examples