-
It is the official one from here: http://www.espruino.com/binaries/travis/master/
-
-
-
I am running espruino 1v95.173 on a NODEMCU board.
I can connect to a WiFi AP like this (Per the docs)...
var wifi = require("Wifi"); wifi.connect("my-ssid", {password:"my-pwd"}, function(err){ console.log("connected? err=", err, "info=", wifi.getIP()); }); wifi.stopAP();
However the moment I add
wifi.save()
and reboot, the 8266 gets stuck in what looks like a reboot loop and barfs all over the screen. This forces me to reflash... -
Thanks @MaBe & @allObjects!
Why does this need to be locked/limited? recursion is a big deal in JS.
-
Thank you! When I run it with the onInit() I get this...
foobar 1 foobar 2 foobar 3 foobar 4 foobar 5 foobar 6 foobar 7 foobar 8 foobar 9 foobar 10 foobar 11 foobar 12 ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x40100000, len 2408, room 16 tail 8 chksum 0xe5 load 0x3ffe8000, len 776, room 0 tail 8 chksum 0x84 load 0x3ffe8310, len 632, room 0 tail 8 chksum 0xd8 csum 0xd8 2nd boot version : 1.6 SPI Speed : 80MHz SPI Mode : QIO SPI Flash Size & Map: 32Mbit(512KB+512KB) jump to run user1 @ 1000 ãì2oäpòN|ìlàl`ã{²pþ
-
I am running 1v95.4 on the NODE MCU ESP8266 dev board. When I run this code...
var temp = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0]; var send = function(times, i) { console.log('foobar', i); if (i < times.length) { send(times, i + 1); } }; send(temp, 1);
I get this...
>foobar 1 foobar 2 foobar 3 foobar 4 foobar 5 foobar 6 foobar 7 foobar 8 foobar 9 foobar 10 foobar 11 foobar 12 foobar 13 ERROR: Prompt not detected - upload failed. Trying to recover...
Some times it will make it to 16, but it always hangs. Does anyone know what may be happening here?
This is really odd. I can flash micropython, but if I flash espruino it just goes into a reboot loop (I think it's a reboot loop).