Arduino code to run a laser tripwire
Uses a voltage divider to show the photoresistor change on the the sensor pin Uses a switch to "arm" the tripwire when the armed pin is set high. Uses the tone funciton and pitches.h from the arduino tone tutorial: http://arduino.cc/en/Tutorial/tone.