Newbe to Arduino. I need help.

I will try to comment it out and see if the bot moves again. I will also check the signals with a scope. I am looking for the ping to turn around the robot at about 12 inches. Is the duration variable set about right for this? Can I use a integer instead of a long variable to simplify the use of duration?

Thanks for all the help so far!!!

Cheers,
Mike