Just to add, on a recent version of Espruino on MDBT42 I did:
require("neopixel").write(D16, new Uint8Array(15)) require("neopixel").write(D18, new Uint8Array(15))
And it works fine - so as others have said this could well be an electrical issue. Those LED strings can draw a bunch of power when on.
@Gordon started
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, on a recent version of Espruino on MDBT42 I did:
And it works fine - so as others have said this could well be an electrical issue. Those LED strings can draw a bunch of power when on.