so many questions @_@
ok. let me respond to Groove first. My intention for this project is to get the sensor to trigger the servos to move. the problem I'm having is that the servos rotate non stop without the trigger. so either the sensor is not working the way it should or I'm not sure what else. I know the sensor isnt dead or defective since i tried it out just to see if it was before.
now to newbie. when i open up the serial monitor i get one number, literally just one since no other value prints there after. and each time i reopen the serial monitor i get a new value. basically i get a single random value each time ranging from the 100's to 3000's.
not sure if I've answered the questions correctly but, oh well. I'm literally a complete newbie.
oh and thanks for taking the time to help me. ;D