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? Email ROBOTC Support at
support@robotc.net to put in a support ticket
Robotc.net|
Robomatter Store |
Robotics Academy |
CS2N