|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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! |
|
#2
|
||||
|
||||
|
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. Last edited by ArchVince : 14-01-2011 at 18:09. |
|
#3
|
|||
|
|||
|
Re: Problem sending messages to Driver Station LCD
Quote:
- Ron Team #2607 controls mentor |
|
#4
|
|||
|
|||
|
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! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|