(Urgent)Line Follower Code Help!!!

I need help with writting code for 3 line followers to follow a black line on a white surface.

Are you using RobotC? If so, I would recommend looking at the sample code library included with RobotC. The sample programs are very well commented to help a newcomer understand how to use the code.

Biggest help with line followers - don’t go fast! You will overshoot the line and lose it quickly and not have a good time with it.

Going slower seems counter to winning but slow and steady does win this race.

Use the robot C sample program (adjusted for your robot set up) is your best starting point. One peeve I have about that program is it has independent if statements versus else based flow but minor details.

Yes I am using robotc and I am using the triple line tracking sample code.