Code Examples from this week's assignment - one-by-one, with arrays, with arrays and functions
Using the Arduino to detect touch - write your own code with AnalogRead and +5v... may take some data averaging, or use the below code:
Write Your Own - Beginning Data Averaging... this code is very rudimentary, but it can be built up using Millis() to do timing
http://jasonkrugman.com/classes/code/touch_sensor_examples.zip
Touch Sensor Code with ADC Library:
http://playground.arduino.cc/Code/ADCTouch#Download
More Solenoids
Using the below code to write routines for a group of solenoid instruments
http://jasonkrugman.com/classes/code/code_for_programming_solenoids.zip