Button Control Lesson Summary

(This lab was originally created 2005 by DojoDave 
Modified 17 Jun 2009 by Tom Igoe)

This lab allows you to push buttons to control an LED.

This is the first step into understanding Inputs (buttons, sensors, etc) which send the Arduino a signal to do something.

Outputs are devices like LEDs, and motors which the Arduino send a signal to do something


Programming Code Function
if statement This allows the program to make decisions based on a set of conditions
else statement This tells the program what to do if it can't use the if statement