Here's an example of a line following program.
Try that first for the line tracking behavior. You should probably use a timer or an encoder (rotation sensor) in order to track how far it's gone.
In order to use a timer you must first clear it:
and then in a while loop:
Let me know if you have any more questions!
Vu NguyenSoftware Training Development Team
Need more support? Email ROBOTC Support at firstname.lastname@example.org
to put in a support ticketRobotc.net
| Robomatter Store
| Robotics Academy