Datasheet
set to True, where every change is immediately written to the strip of pixels, this is easier to use but
way
slower. if you
set auto_write=False then you will have to call strip.show() when you want to actually write color data out.
You can easily set colors by indexing into the location strip[n] = (red, green, blue) . For example, strip[0] = (100, 0, 0) will
set the first pixel to a medium-brightness red, and strip[2] = (0, 255, 0) will set the third pixel to bright green. Then, if you
have auto_write=False don't forget to call strip.show()
Verify the wiring on your strip or device - plugging into the 'DOUT' side is a common mistake! Wire up NeoPixels only
while the Circuit Playground Express is not on, to avoid possible damage!
If the power to the NeoPixels is > 5.5V you may have some difficulty driving some strips, in which case you may need
to lower the voltage to 4.5-5V or use a level shifter
We have a ton more information on general purpose NeoPixel know-how at our NeoPixel UberGuide
https://learn.adafruit.com/adafruit-neopixel-uberguide
© Adafruit Industries https://learn.adafruit.com/adafruit-circuit-playground-express Page 127 of 211










