5,710
edits
Changes
→Part 2 - Simple Digital In
* 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)
* Compile, upload and run the Button program, verify that it works. You should see your external LED blinking in time with the program.
=== Part 3 - Programming ===