You might find that the display is more averse to flicker if you do something like:
function r() { // run
dnoe.reset();
setInterval(function() {
var rdx = 5;
while (rdx) SPI1.write(dbuf[--rdx],dnss);
// whatever SPI write needed to turn all columns off
}, 10);
}
By scanning all in one go and then turning off, you don't get a slightly brighter row appearing if some other JS code takes a while to execute.
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.
Wow, nice! That's one hell of a write-up!
You might find that the display is more averse to flicker if you do something like:
By scanning all in one go and then turning off, you don't get a slightly brighter row appearing if some other JS code takes a while to execute.