I tried 1.95 (the latest one from the list of available downloads) and that behaved like 2.05.
The misbehaviour of setTimeout sounds critical, but graphics.drawLine might "just" have a hidden memory leak from what I found by my little tests.
Oh, and, meanwhile, my own implementation of "drawLine" crashed as well (on the micro:bit, on Calliope it's still running - but presumably because that was started much later) - I will now try to increase interval length.
What also sounds weird is that both devices sometimes suddenly disconnect themselves from the WebBT connection.
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.
Hello Gordon,
I tried 1.95 (the latest one from the list of available downloads) and that behaved like 2.05.
The misbehaviour of
setTimeout
sounds critical, butgraphics.drawLine
might "just" have a hidden memory leak from what I found by my little tests.Oh, and, meanwhile, my own implementation of "drawLine" crashed as well (on the micro:bit, on Calliope it's still running - but presumably because that was started much later) - I will now try to increase interval length.
What also sounds weird is that both devices sometimes suddenly disconnect themselves from the WebBT connection.
With greetings from Germany,
Andreas Rozek