IR distance sensor code (Sharp GP2D120 w/ Aduino Uno)

If you want a sketch modified it would help to know which sketch. Which of the many Ping based autonomous robot sketches matches your robot hardware?