Missions · Mission 2 of 3
Traffic light
Step 1 of 7
Run it
Press Run. Look at the board: the red light turns on.
All steps
Welcome back! You were on step .
Mission 2 done!
You learned: pinMode makes a pin an output, and digitalWrite turns it on and off.
Getting ready to run your code…
A problem
Show everything the compiler said
If your code runs but does the wrong thing, the compiler can’t spot that for you. Read it again line by line, and watch the board.