Stage 2

Inputs

digitalRead(), if statements

Stage 2 teaches inputs and decisions. Your Arduino can read buttons and switches with digitalRead(), then use if statements to choose what to do. You will build games, timers, and alarms.

Skills you will learn

  • Reading inputs with digitalRead()
  • Making decisions with if statements
  • Buttons, switches, and buzzers
  • Games and reaction timers

Stage 2 turns your Arduino from a light show into an interactive gadget that responds to you!

10 projects in this stage