Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Vorms
#57638 Hello,
Very new with ESP2866.
I receive a D1 card (not D1R2).
I use the Arduino ide
I try the example in gitub for wifi scan at address:
https://github.com/esp8266/Arduino/blob ... FiScan.ino

I find that the instruction Wifi.disconnect() cause a crash of the system.

Many thanks for your help.
Best regards

Thierry Vorms :roll:
User avatar
By sfranzyshen
#57683
Vorms wrote:Hello,
Very new with ESP2866.
I receive a D1 card (not D1R2).
I use the Arduino ide
I try the example in gitub for wifi scan at address:
https://github.com/esp8266/Arduino/blob ... FiScan.ino

I find that the instruction Wifi.disconnect() cause a crash of the system.

Many thanks for your help.
Best regards

Thierry Vorms :roll:


works fine with : Arduino 1.6.8 / 2.3.0 - Generic ESP8266 512k (128k spiffs)
also works fine if you REM out that line ...
//WiFi.disconnect();