My apologies - I should be using
setTimeout(() => Bangle.drawWidgets(), 10);return
instead I was using:
setTimeout(Bangle.drawWidgets(), 10);return
I have tested and the error goes away now.
Aah so I was on the right lines thinking it was being evaluated, I just overcomplicated my reasoning about why.
@myownself started
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.
My apologies - I should be using
instead I was using:
I have tested and the error goes away now.