@allObjects OK, after ironing out the first batch of issues this is a basically working (but still untested) new version.
The draw() function was a bit tricky since I feared that setInterval() could cause overlaps, so I run a number of setTimeout()s in a row, calling the next one recursively until the queue is empty.
Hope that is what you suggested and have in mind.
The next thing would be to patch my Puck.js fleet to turn their radio on and off at intervals to simulate track laps.
This way I can run extended testing without leaving the room.
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.
@allObjects OK, after ironing out the first batch of issues this is a basically working (but still untested) new version.
The
draw()
function was a bit tricky since I feared thatsetInterval()
could cause overlaps, so I run a number ofsetTimeout()s
in a row, calling the next one recursively until the queue is empty.Hope that is what you suggested and have in mind.
The next thing would be to patch my Puck.js fleet to turn their radio on and off at intervals to simulate track laps.
This way I can run extended testing without leaving the room.
1 Attachment