Mhh, so it looks like something is not initialized properly at cold-boot on the esp8266. After a HW reset Serial2.print("foo") says Uncaught Error: Function "setConsole" not found! but if I do reset() then it works just fine. Same for Telnet after renaming the class to TelnetServer.
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.
Mhh, so it looks like something is not initialized properly at cold-boot on the esp8266. After a HW reset
Serial2.print("foo")
saysUncaught Error: Function "setConsole" not found!
but if I doreset()
then it works just fine. Same forTelnet
after renaming the class toTelnetServer
.