This challenge extends the previous fading LED project by including multiple LEDs that fade at different rates. Make sure that you’re able to complete that project before attempting this one.
This experiment builds on the skills covered in the Analog Input Lesson. If you’re unsure on any parts in this challenge, feel free to experiment and see if you can figure it out. If you’re still having trouble, refer back to the previous lesson for some tips and tricks!
In fact, you could even have the lesson guide open while you work through this project!
For this activity, you’ll be building on the concepts you used in the Fading LED activity, except this time you’ll be using (and fading) more than 1 LED!
Think of this as a combination of the Traffic Light and the Fading LED projects.
There is no set direction for how your LEDs should fade. The goal is to experiment and come up with a fun pattern!
There aren’t any set steps for this experiment, but here is an outline to help you get started:
pinMode() and check that the pin numbers in your code match the pins you’re using on the board!