josx.platform.rcx
Class TextLCD
java.lang.Object
|
+--josx.platform.rcx.TextLCD
- public class TextLCD
- extends Object
Display text on the LCD screen.
- Author:
- Ryan VanderBijl
Method Summary |
static void |
print(char[] text)
Print up to the first 5 characters of a char array to the LCD. |
static void |
print(String str)
Prints a string on the LCD. |
static void |
printChar(char the_char,
int pos)
Prints a character to a given position. |
print
public static final void print(String str)
- Prints a string on the LCD.
No need to refresh.
print
public static final void print(char[] text)
- Print up to the first 5 characters of a char array to the LCD.
There is no need to refresh the LCD.
Space is displayed if less than five characters.
Characters are approximations. There is only so much you can
do with this lcd screen!
printChar
public static final void printChar(char the_char,
int pos)
- Prints a character to a given position. Input character is
assumed to be an ascii character < 127. Position is between
zero and four, counting from the RIGHT.
Character will not be shown until
LCD.refresh
is called.