Changes

Jump to: navigation, search

Classes/2010/VIS147A/Lab7

12 bytes added, 16:03, 23 February 2010
Part 2 - Simple Digital In
* 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):
** V_OUT with the button pressed____.** V_OUT with the button released____.
* Open the button example (File->Sketchbook->Examples->Digital->Button) in the Arduino software.
* Connect your switch circuit to one of the digital I/O pins on your Freeduino, and change <code>inputPin</code> in the button program to correspond to this pin. (Mine is Digital Pin #7)

Navigation menu