see pic (amazing art skillz!)
In the program i want to tell the servo to run until the IR sensor reads a certain value (what ever that value is).
Ex. I want for the robot to move 6" from the sensor, the program should activte the servo in the right direction until the sensor reads 6" and stops. (to get the servo moving in the right direction, "If sensor reads X< desired move, then move robot away from it, if X> then desired position, than move towards until right value." Now that what i want it to do, but i need some info on how to get the sensors values (data sheet) that would be given and the conditional statement that i discribed.
Hope this is enough info
(all ready have data sheet advalable on website, but couldn't find it helpful)
Bane