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 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! 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?