So you've previously done wifi = require("EspruinoWiFi");, or is the wifi variable named something else?
I tested both and they seem to work on 1v91 - but to be honest there shouldn't be a great deal of difference between that an 1v87 as they'll both be using the same module.
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.
So you've previously done
wifi = require("EspruinoWiFi");
, or is the wifi variable named something else?I tested both and they seem to work on 1v91 - but to be honest there shouldn't be a great deal of difference between that an 1v87 as they'll both be using the same module.
You need to use
wifi.getIP
like this: