Oh, everything back to ground ;-)
try this first : esp.neopixelWrite(p, [255,0,0,0,255,0,0,0,255]); //gives green, white, white
and next this: esp.neopixelWrite(p, [255,0,0,0,255,0,1,0,255]); // gives green, red, blue
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.
Oh, everything back to ground ;-)
try this first : esp.neopixelWrite(p, [255,0,0,0,255,0,0,0,255]); //gives green, white, white
and next this: esp.neopixelWrite(p, [255,0,0,0,255,0,1,0,255]); // gives green, red, blue