5,710
edits
Changes
no edit summary
=== 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)
# Connect your switch circuit to on if the digital I/O pins, and change <code>inputPin</code> in the button program to this number. (Mine is Pin 7)
=== Loop ===