There is no setip function for the esp8266 wifi.
var wifi = require("Wifi"); wifi.connect("my-ssid", {password:"my-pwd"}, function(err){ console.log("connected? err=", err, "info=", wifi.getIP()); });
Use the code from the example page - the wifi ip will get echoed to the console..
@Wilberforce 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.
There is no setip function for the esp8266 wifi.
Use the code from the example page - the wifi ip will get echoed to the console..