At my greenhouse system it does not work. I see something like this:
>getTime()
=1282.59722900390
>dump()
setTimeout(function (s) {return console.log(s)}, 6869723.54125976562); // 3
.................. after a few minutes
>getTime()
=2236.14056396484
>dump()
setTimeout(function (s) {return console.log(s)}, 6712184.47875976562); // 3
SetTimeout is only a part of code in dump, of course. But I add the timeout manually from console, so other code do not interact with the timeout.
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.
At my greenhouse system it does not work. I see something like this:
SetTimeout is only a part of code in dump, of course. But I add the timeout manually from console, so other code do not interact with the timeout.