Chapter 08 - Arduino and Fading LEDs
- Introduction to Fading LEDs: Work through Analog Write Lesson
- In your notebook be sure to write descriptions of the new code in your own words
- Check out this alternative version.
- What's the same between the two lessons?
- What's different?
- New Code? Write descriptions in your own words.
- Additional Tasks
- Change the rate the LED Fades
- Fade multiple LEDs
- Make the fading respond to a push button - Make the LED fade up to full and stay on when the button is pressed and fade down to nothing and stay off when not pressed.
- Sequencing your Fading LEDs - Building Better Cylons
- What the Heck is an Array?
- Sequence Fading LEDs
A-8.1
|
I can identify the pins that will work with analogWrite
|
A-8.2
|
I can use analogWrite to control the brightness of an LED
|
A-8.3
|
I can use an IF, FOR, or WHILE loop to fade in and out an LED
|
B-8.4
|
I can use an Array to sequence only the fading LEDs
|
|
|