![]() |
Problem sending messages to Driver Station LCD
Every time I try to send a message to the LCD I get a NullPointerException, no matter what I try or who's code I copy. If it hits the line
Code:
DriverStationLCD.getInstance().println(DriverStationLCD.Line.kMain6, 1, msg);Thanks! |
Re: Problem sending messages to Driver Station LCD
Ah, the LCD. I'm pretty sure that you just forgot an import.
Did you import BOTH of these? PHP Code:
PHP Code:
PHP Code:
Also, make sure you update the LCD. You won't see any output otherwise. |
Re: Problem sending messages to Driver Station LCD
Quote:
- Ron Team #2607 controls mentor |
Re: Problem sending messages to Driver Station LCD
ArchVince's suggestion seems to have worked. Weird, since I'm pretty sure I tried that once. Must have had the syntax wrong.
Thanks for all the help! |
| All times are GMT -5. The time now is 10:26. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi