Hi,
The following function is not printing Wifi disconnected! when wifi connection is dropped (I am manually turning off the AP on my cell phone):
Wifi disconnected!
Wifi.on('disconnected', function(details){ console.log("Wifi disconnected!", details); return sleep(2000, function(){ return connectToWifi(); }); });
What is wrong here?
@ceremcem started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
The following function is not printing
Wifi disconnected!
when wifi connection is dropped (I am manually turning off the AP on my cell phone):What is wrong here?