Adafruit Feather M4 Express Manual page 127

Table of Contents

Advertisement

led = neopixel.NeoPixel(board.NEOPIXEL, 1)
to
so it reads:
10
led = neopixel.NeoPixel(board.NEOPIXEL, 10)
This tells the code to look for 10 LEDs instead of only 1. Now save the code and watch the rainbow go! You can make
the same
to
change to the previous examples as well, and use
1
10
chose! For more details, check out the
© Adafruit Industries
.
NeoPixel section of the CPX guide
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51
to light up all the LEDs in the colors you
led.fill
(https://adafru.it/Bem)!
Page 132 of 183

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Feather M4 Express and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF