Nice - thanks for posting it up! That first write for neopixels is a pain - it's caused by the pin having been floating before neopixel.write was called.
You might like this function for use with setColor: http://www.espruino.com/Reference#t_l_E_HSBtoRGB
It'd be really neat to change the hue by a little bit every second :)
© Espruino, powered by microcosm.
Report a problem