Quote:
|
Originally Posted by EHaskins
I would doubt that you could tax the processor to the point that the autonomous code would take longer than 26.2ms
|
I would agree that this normally wouldn't be a problem. In fact, the way the RC works is that if the master processor doesn't get data back in 26.2 ms, your robot gets disabled. Therefore, it is possible that the loop will runner
faster than 26.2 ms.
I would suggest using real timers.
For more information, take a look at IFI's
white-paper (PDF).
They have a very nice explanation of how to use the timers built into the PIC.