EasyManuals Logo

Adafruit Feather M4 Express User Manual

Adafruit Feather M4 Express
178 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #125 background imageLoading...
Page #125 background image
Try changing the numbers in the tuples to change your LED to any color of the rainbow. Or, you can add more lines
with different color tuples to add more colors to the sequence. Always add the time.sleep() , but try changing the
amount of time to create different cycle animations!
Making Rainbows (Because Who Doesn't Love 'Em!)
Coding a rainbow effect involves a little math and a helper function called wheel . For details about how wheel works,
see this explanation here (https://adafru.it/Bek)!
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51 Page 130 of 183

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Adafruit Feather M4 Express Specifications

General IconGeneral
BrandAdafruit
ModelFeather M4 Express
CategoryMicrocontrollers
LanguageEnglish

Related product manuals