Using two dc motors with two line trackers, a ultrasonic rangefinder and servo.

Hi, I am new to arduino and am building a robot in my engineering classthat follows a line, stops at a wall and then turns on a servo to move an arm up to hit a switch. We have the robot all built and it follows the line very well when we have just our code for the motors and line follower downloaded. Anytime we try using our code with the motors, line followers, range finder, and servo then the robot still drives but won’t follow the line at all. I’ll upload my code tonight once I get home and have my jump drive.

I really appreciate any help any one can offer. Thanks

Please read the “how to use the forum-please read” stickies before posting code. The stickies will explain how to format and post code so that it is readable and the forum software won’t change your code.