|
Re: IsAutonomous() function
I think that this is because calling IsAutonomous() on every pass through the continuous code causes the print buffer to be flushed.
Try calling the function "fflush()" (no arguments) after your printf() statement without calling IsAutonomous().
As an aside, you probably won't want to print in the XXXContinuous() functions. It will go so fast you won't be able to read it. The XXXPeriodic() functions might be a better fit here.
Last edited by Jared Russell : 15-01-2009 at 10:30.
|