pxt-maker icon indicating copy to clipboard operation
pxt-maker copied to clipboard

RGB+W NeoPixel strip error

Open jedgarpark opened this issue 5 years ago • 0 comments

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

jedgarpark avatar Mar 24 '20 18:03 jedgarpark