Just to add that NeoPixels are also a bit picky on voltages for the data signal.
Basically if you power them from 5v and then give them 3.3v data the result can be a bit glitchy. As a result, for Espruino boards I usually recommend putting the the pin into pulldown mode and pulling it up to 5v with a resistor (to get a 5v data signal).
... or generally if you run them from 4.3v (5v with a diode's voltage drop) then 3.3v data is good enough.
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.
Just to add that NeoPixels are also a bit picky on voltages for the data signal.
Basically if you power them from 5v and then give them 3.3v data the result can be a bit glitchy. As a result, for Espruino boards I usually recommend putting the the pin into pulldown mode and pulling it up to 5v with a resistor (to get a 5v data signal).
... or generally if you run them from 4.3v (5v with a diode's voltage drop) then 3.3v data is good enough.