Quote:
Originally Posted by wag2625
Code:
dsLCD->Printf(DriverStationLCD::kUser_Line1, 1,"Message\n");
dsLCD->UpdateLCD();
The user message will sometimes print once when the code is first deployed, but will not continue to update after that.
|
I haven't used the LCD yet, but it works by sending a big block of text that sets every character on the display. You don't want to include newlines (even if the LCD hardware handles them, it would mess up the position of the other text being displayed).
Your code will write "Message" on line 1 starting at column 1. If you run it again it will do the same thing. Maybe try something like this to see if it's updating:
Code:
dsLCD->Printf(DriverStationLCD::kUser_Line1, 1, "Time %8.3f", Timer::GetPPCTimestamp());
dsLCD->UpdateLCD();