The problem could be because Arduino has 5v IO and Espruino has 3.3v - WS2811/2 are quite picky. When running from Espruino's power supply, the diode drops the main voltage to 4.7v or so, which allows the lights to read the lower data voltage - but when you raise their main voltage, they become less sensitive to the data.
To fix it, get a ~300 Ohm resistor (pretty much anything from 150 to 1k will work) and put it between DIN and 5V. Then use pinMode(DATA_PIN, 'af_opendrain') in Espruino.
It basically allows the data pin to be pulled all the way up to 5v with the resistor, but can pull it down to 0 when needed - it basically turns it into a 5v output.
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.
The problem could be because Arduino has 5v IO and Espruino has 3.3v - WS2811/2 are quite picky. When running from Espruino's power supply, the diode drops the main voltage to 4.7v or so, which allows the lights to read the lower data voltage - but when you raise their main voltage, they become less sensitive to the data.
To fix it, get a ~300 Ohm resistor (pretty much anything from 150 to 1k will work) and put it between DIN and 5V. Then use
pinMode(DATA_PIN, 'af_opendrain')
in Espruino.It basically allows the data pin to be pulled all the way up to 5v with the resistor, but can pull it down to 0 when needed - it basically turns it into a 5v output.