|
|||||||||
| 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. 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 |
kSyncTimeout_ms
Driver station timeout in milliseconds |
| Fields inherited from class edu.wpi.first.wpilibj.SensorBase |
|---|
kAnalogChannels, kAnalogModules, kDigitalChannels, kPwmChannels, kRelayChannels, kSolenoidChannels, kSolenoidModules, kSystemClockTicksPerMicrosecond, n_simProperties |
| Method Summary | |
|---|---|
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, getSimProperties, 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
| 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 print
public 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 print
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||