View Single Post
  #4   Spotlight this post!  
Unread 22-01-2010, 11:30
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: sending info to a console

Hi A Kenney03,

Call "DriverStationLCD getInstance()" instead of "new DriverStationLCD()".

Since there can only be one DriverStationLCD, the private access prevents you from trying to create two objects to refer to the same item on the driver station.

BTW, errors like this are easier to comment on if you can post the error message. I wasn't sure if you were talking about a compile error, network error, code error, or what :-)
Reply With Quote