pxt-maker
pxt-maker copied to clipboard
RGB+W NeoPixel strip error
Setting a NeoPixel strip to RGB+W seems to create errors in simulator and hardware.
strip.setMode(NeoPixelMode.RGBW)
let short = strip.range(0, 1)
let long = strip.range(2, 1)
short.setAll(0x0000ff)
long.setAll(0x00ff00)
This should show pixel 0 green, pixel 2 blue, but instead shows pixels 0-1 both blue.
https://forums.adafruit.com/viewtopic.php?f=64&t=163743