|
Re: Autonomous Programming
Use the encoder value as the input to a case statement. Name the cases as ranges like "0..2499" and "2500..6999", and set the motors appropriately in each case.
Either put the whole thing in a while loop, or use Autonomous Iterative which calls your code repeatedly.
|