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.
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.
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_HSBtoRGBIt'd be really neat to change the hue by a little bit every second :)