Most recent activity
-
-
i think it has to do with wifi power setting mentioned here
https://github.com/espressif/arduino-esp32/issues/6767#issuecomment-1145661485
-
Wifi is not broken on 4.4.7, we need to understand that if the board is already connected a another connect will break things. The folowing code will check for that situation:
var ssid="SSID"; var password="password"; var wifi=require("Wifi"); wifi.stopAP(()=> { print(wifi.getStatus()); var status = wifi.getStatus(); if (status.ssid == ssid && status.station == "connected"){ print(wifi.getIP()); } else { wifi.connect(ssid, {password: password}, function() { print(wifi.getIP()); }); } });
Line 8 is the breakthrough: Do not connect again if already connected
You can upload this code as ofen as you like and the ESP32 board will not reboot!
Edit:
Wow, tested today and it is broken again ....... -
A clone of an espressif esp32c3 devkitm-1
-
No matter what device you use, with Espruino you always have a lot of fun.
Espruino Rocks 🤟
Special thanks goes to Gordon.