Build a Traffic Light Circuit with Arduino – Post-Test | Lesson 4


1
2
3

Red
Yellow
Blue

Digital Pin
GND
VCC

It increases current
It prevents LED from burning out
It blinks the LED

Waits 5 seconds
Changes LED color
Reads analog input

digitalWrite()
for loop
delay()

Repeats the entire sketch
Increases or changes the counter
Deletes a variable

LED color
Wiring and code pin numbers
Internet connection

Nothing happens
The code won’t compile
The LED will blink randomly

Stay calm and check spelling
Throw away the Arduino
Restart your computer immediately