Display
Class Documentation
- class compLib.Display.Display
Access the display on the robot. The display is split into 4 Rows and 16 Columns. Each function call changes one line at a time.
- static clear()
Clear the display
- static write(line: int, text: str)
Write a string of text to the integrated display.
- Parameters
line – Line to write. Between 1 and 4
text – Text to write. Up to 16 characters
- Raises
IndexError
Examples
Write a line to the display
import time
from compLib.Display import Display
Display.write(1, "Hello World!")