View Single Post
  #2   Spotlight this post!  
Unread 07-02-2013, 20:12
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: Driver Station User Messages Not Updating

I'm not sure if this fixes your problem, but we've been printing data to the driver station like this:
Code:
//initialize		
DriverStationLCD *dsLCD = DriverStationLCD::GetInstance();
Code:
dsLCD->Printf(DriverStationLCD::kUser_Line1, 1, "Here is some text");
dsLCD->UpdateLCD();
Wait(0.1);
or like this:
Code:
dsLCD->PrintfLine(DriverStationLCD::kUser_Line1, "Here is some more text");
dsLCD->UpdateLCD();
Wait(0.1);
Because you defined the line to print on (the number after kUser_Line1, x), you don't need the /n to go to the next line (I think). This may need confirmation. Good luck :D
Reply With Quote