Missions · Mission 3 of 3
Press the button
Step 1 of 7
Run it
Press Run. Nothing lights up yet. The board is waiting for you.
All steps
Welcome back! You were on step .
Mission 3 done!
You learned: digitalRead reads the button, and if and else choose what to do.
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.