Just to add, I'm not sure it's been covered - you can use any data pin for Neopixels.
However sometimes they're a bit picky about the voltage levels of the data relative to their supply - I find it works great running neopixels off a 3.7v LiPo while using the Puck's internal battery, but if running neopixels off 5v you may hit some issues and need a level converter.
Another option is to run the neopixels off 3.7v (maybe charge a LiPo behind the clock with a LiPo charger?) and to then run Puck.js off that same 3.7v but with a diode to drop the voltage enough for it?
© Espruino, powered by microcosm.
Report a problem