๐ ๏ธ Section project: two LEDs taking turns
Section 1: The start: the ArduinoLesson 1.5 ยท โฑ 10 min
๐ฏ Project goal
Red on 13 and green on 12. The red lights alone, then the green alone, and so on. They never light together.

๐ Another example: fast turns
Red, then green, 300 milliseconds each.


โ๏ธ Practise
Build the project.
โ๏ธ Practise here in the lessonโ Close the labor open the lab in a new page โ
โ๏ธ Practise
Extra challenge: add a third LED on 11, and make the three light up one after another.
โ๏ธ Practise here in the lessonโ Close the labor open the lab in a new page โ
๐ฏ Challenge yourself
Easy
They blink together: on together and off together.
๐ Show the solution๐ Hide the solution


Result: they blink together.
Medium
The red blinks twice, then the green once.
๐ Show the solution๐ Hide the solution


Result: red, red, green, and it repeats.
Hard
A police light: the red blinks 3 times quickly, then the green 3 times.
๐ Show the solution๐ Hide the solution


Result: fast flashes taking turns.

