EasyManua.ls Logo

Adafruit Feather M4 Express - Page 127

Adafruit Feather M4 Express
178 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
led = neopixel.NeoPixel(board.NEOPIXEL, 1)
to 10 so it reads:
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 1 to 10 change to the previous examples as well, and use led.fill to light up all the LEDs in the colors you
chose! For more details, check out the NeoPixel section of the CPX guide (https://adafru.it/Bem)!
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51 Page 132 of 183

Table of Contents

Related product manuals