@gordon, thanks for your help, but looks like this will not run, at least on ESP32.
Scan takes 396 msec, which is too slow.
I'm pretty sure, the way how pins are set in ESP32 slows it down that much.
Tested a loop with set/reset a pin, even that takes a lot of time.
There is a pure ESP32 solution using I2S in parallel mode, having density and full colors using PWM.
But as said, this would only work for ESP32, and is not part of standard Espruino.
© Espruino, powered by microcosm.
Report a problem