Let's Make Robots!

Arduino bump switches

I Have my very first robot posted on LMR and he's pretty cool except whet he gets a blind spot on his Parallax PING)) sensors and hits a wall, burning the motors and wheels. I'm really really naive when it comes to programing, i know only how to understand programs people have written before for arduino. I do know tons about non- programmed electronics, though. I want to add something like bump switches to my code. I don't know how! assistance requested. My robot is Makerson and he's new on the front page of robots.