my personal App loader would not show the latest version id ?
I think it's just that you needed to update the version in apps.json too.
I can see from the other multiclock examples that there are better ways of writing the display
There are a few ways, but the easiest is probably just to use clearRect on just the area you're writing text to, just before you update it (rather than clearing the whole screen).
You could also do something like if (steps == lastSteps) return; just to stop it updating the screen if nothing has changed...
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.
That looks great!
I think it's just that you needed to update the version in
apps.json
too.There are a few ways, but the easiest is probably just to use
clearRect
on just the area you're writing text to, just before you update it (rather than clearing the whole screen).You could also do something like
if (steps == lastSteps) return;
just to stop it updating the screen if nothing has changed...