cris11,
looking at the source code above, the line "motion=digitalRead(2);" appears to read the motion sensor input on digital pin 2.
cris11,
looking at the source code above, the line "motion=digitalRead(2);" appears to read the motion sensor input on digital pin 2.