Hi wateverz101
You can find examples trolling around the forum and if you post your specific problem, people will surely help you. What hardware do you have to build your robot. What have you done and which is the part you struggling with. Have a look at this post, it will show you how to control a 2WD chassis, It also states all the hardware used and a wiring diagram. Thats to get the motors working.
Now you would have to add some sensor to your robot to detect obstacles and with the data you receive back from the sensor you can code the required logic.
http://forums.netdui...dual-tb6612fng/
- Paul Newton likes this