5,710
edits
Changes
→Simple Digital In
[[Image:switch.jpg|thumb]]
[[Image:D_in.png]]
# Set up this circuit on your breadboard, with a switch, +5V, and current limiting resistor to ground. This is a basic digital input.
# Open the button example (File->Sketchbook->Examples->Digital->Button)