|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.first.wpilibj.SensorBase
edu.wpi.first.wpilibj.DriverStationLCD
public class DriverStationLCD
Provide access to "LCD" on the Driver Station. This is the Messages box on the DS Operation tab. Buffer the printed data locally and then send it when UpdateLCD is called.
Nested Class Summary | |
---|---|
static class |
DriverStationLCD.Line
The line number on the Driver Station LCD |
Field Summary | |
---|---|
static int |
kFullDisplayTextCommand
Command to display text |
static int |
kLineLength
Maximum line length for Driver Station display |
static int |
kNumLines
Total number of lines available |
static int |
kSyncTimeout_ms
Driver station timeout in milliseconds |
Fields inherited from class edu.wpi.first.wpilibj.SensorBase |
---|
kAnalogChannels, kAnalogModules, kDigitalChannels, kPwmChannels, kRelayChannels, kSolenoidChannels, kSolenoidModules, kSystemClockTicksPerMicrosecond |
Method Summary | |
---|---|
void |
clear()
Clear User Messages box on DS Operations Tab This method will clear all text currently displayed in the message box |
static DriverStationLCD |
getInstance()
Get an instance of the DriverStationLCD |
void |
println(DriverStationLCD.Line line,
int startingColumn,
java.lang.String text)
Print formatted text to the Driver Station LCD text buffer. |
void |
println(DriverStationLCD.Line line,
int startingColumn,
java.lang.StringBuffer text)
Print formatted text to the Driver Station LCD text buffer. |
void |
updateLCD()
Send the text data to the Driver Station. |
Methods inherited from class edu.wpi.first.wpilibj.SensorBase |
---|
checkAnalogChannel, checkAnalogModule, checkDigitalChannel, checkDigitalModule, checkPWMChannel, checkPWMModule, checkRelayChannel, checkRelayModule, checkSolenoidChannel, checkSolenoidModule, free, getDefaultAnalogModule, getDefaultDigitalModule, getDefaultSolenoidModule, setDefaultAnalogModule, setDefaultDigitalModule, setDefaultSolenoidModule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int kSyncTimeout_ms
public static final int kFullDisplayTextCommand
public static final int kLineLength
public static final int kNumLines
Method Detail |
---|
public static DriverStationLCD getInstance()
public void updateLCD()
public void println(DriverStationLCD.Line line, int startingColumn, java.lang.String text)
line
- The line on the LCD to print to.startingColumn
- The column to start printing to. This is a 1-based number.text
- the text to printpublic void println(DriverStationLCD.Line line, int startingColumn, java.lang.StringBuffer text)
line
- The line on the LCD to print to.startingColumn
- The column to start printing to. This is a 1-based number.text
- the text to printpublic void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |