I left the Espruino over night connected. Just waiting that something happens on the Serial connection (Serial1.onData callback registered). No data received but the timing is way off.
The following statement took 3-4 Seconds only:
console.log("Start-Time: "+getTime()); setTimeout(function() { console.log("After a very long wait.: "+getTime()); }, 10000000);
Start-Time: 49936143.57320594787597
=1
After a very long wait.: 49946147.45812225341796
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.
I left the Espruino over night connected. Just waiting that something happens on the Serial connection (Serial1.onData callback registered). No data received but the timing is way off.
The following statement took 3-4 Seconds only:
console.log("Start-Time: "+getTime()); setTimeout(function() { console.log("After a very long wait.: "+getTime()); }, 10000000);
Start-Time: 49936143.57320594787597
=1
After a very long wait.: 49946147.45812225341796