Changes

Week 2 Lab

354 bytes added, 15:21, 7 April 2009
Simple Digital In
=== Simple Digital In ===
[[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)