Project 2 - Blinking the LEDs in sequences
Objective: To program multiple LED to blink.
Before we begin, switch to Live mode
-
In this project, we will blink LED 2 to LED 7 in sequence.
-
Modify the previous code to the following:
-
Press the green flag
and observe the result.
-
Did LED 2 to LED 7 blink? If so, you can continue to the next step.
-
Modify your code into this sequence.
-
Press the green flag
and observe the result.
Challenge
Try coding an LED sequence so that one LED will blink one at a time.
Once completed, inform your teacher to check your progress.