That looks great! Shame about the bleeding/duty cycle... I'm always amazed at how much brighter modern LEDs are than the older ones - I guess it makes it much easier to work with lower duty cycles.
If you needed to get it faster you could actually try unrolling your while loop? It's only 11 iterations?
© Espruino, powered by microcosm.
Report a problem