Yes, need Http server run after WiFi getting IP address
// Init WiFi Networks wifi.setHostname("my1"); wifi.connect("xxx", {password:"xxx"}, function(err){ setTimeout(function(){ console.log("connected? err=", err, "info=", wifi.getIP()); // Init Your Http Server Init(); },5000); }); wifi.stopAP(); wifi.save();
@Aleksandrs 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.
Yes, need Http server run after WiFi getting IP address