I had to look up the printTextToGD function call from WPLib.
Quote:
|
void PrintTextToGD(unsigned char ucRow, unsigned char ucCol, unsigned long ulColor, rom const char *szText, ...);
|
Usually when we have a problem like yours, it is a typecast problem.
Other things to check:
Is your color valid?
Is your gyro type set correctly? You have the 300 deg/sec gyro?
What affect does the wait(200) have on your program? I always prefer to wrap my print statements in a if block for what you are trying to do:
if (time%$200 == 0)
{
printTextToGD.....
}
That way the program can continue to process gyro data, although WPLib documentation implies that sensor data is still processed during the wait.