上QQ阅读APP看书,第一时间看更新
How to do it...
To do this, perform the following steps:
- Run the following lines of code in the REPL:
>>> from adafruit_circuitplayground.express import cpx >>> cpx.pixels.fill(0x0000FF)
- You should see all 10 NeoPixels turn blue.
- Use the following code to turn off all 10 NeoPixels:
>>> cpx.pixels.fill(0x000000)