VEX IQ Python API
|
Public Member Functions | |
def | __init__ (self) |
def | print_line (self, number, text) |
Prints a number, string, or boolean at a particular line, clearing the rest of the line. More... | |
def | clear_screen (self) |
Clears the whole screen. More... | |
Use this class to write or draw to the brain's LCD screen. * 21 characters wide * 5 lines (1-5)
def vex.BrainLcd.__init__ | ( | self | ) |
def vex.BrainLcd.print_line | ( | self, | |
number, | |||
text | |||
) |
Prints a number, string, or boolean at a particular line, clearing the rest of the line.
number | Line to print on, 1 is top line. TODO default empty string? |
text | object to print, usually a string. Use "" to clear the line For multiple arguments, use format like "x: %g y: %g" % (x, y) -> "x: 123 y: 456" Supported format flags are g (all) x (hex) d (int) f (float) |
def vex.BrainLcd.clear_screen | ( | self | ) |
Clears the whole screen.