today – quiz and learning more Arduino
Thursday – go to Varvil for soldering and circuit building
Blink Countdown
By the end of class write a program that counts down three LEDS like this:
1. all LEDs on.
2. turn off red* LED.
3. wait a second.
4. turn off next LED.
5.wait a second.
6. turn off last LED.
Focus on writing the program. No need to build the circuit – finish the program first.
*color doesn’t matter
Your program should have comments that explain what each line or section does.
Your program should use variables.
Your program should have messages from serial monitor that display start and end of countdown.
Your program should have your name at the top of the code as a comment.
Print out your program and turn it in. If you can’t finish today please visit me in room 127 during tutorial tomorrow.
BUT FIRST let’s take a quiz – click here for the quiz.
During the quiz you may NOT:
-look up answers anywhere
-ask another student for help
-talk to anyone but me
After the quiz:
1. using variables in a program

2. using comments in a program

3. using the serial monitor
