Changes

Classes/2010/VIS147A/Lab7

157 bytes added, 16:02, 23 February 2010
Part 2 - Simple Digital In
''Active High, Normally Open (N.O.) switch''
* Set up this circuit on your breadboard, with a switch, +5V, and current limiting resistor to ground. This is a basic digital input.
* With your multimeter, check the output voltage of the circuit (V between button and resistor):
** with the button pressed
** with the button released
* Open the button example (File->Sketchbook->Examples->Digital->Button)in the Arduino software.* Connect your switch circuit to on if one of the digital I/O pinson your Freeduino, and change <code>inputPin</code> in the button program to correspond to this numberpin. (Mine is Digital Pin #7)* Compile, upload and run the Button program, verify that it works. *
=== Part 3 - Programming ===