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 Nguyen
Software Training Development Team |
WebmasterNeed more support? Use the
ROBOTC Ticketing systemRobotc.net|
Robomatter Store |
Robotics Academy