Ok, here is the problem.

Hi,

I can control the direction of the servo and stop the servo based upon what value is read by the Ping sensor. I have it written
down somewhere but I believe it is something like value 0 and 180 will rotate one direction, 270 will reverse that direction and 90 will stop the servo.