Go back to:
Display
All displays support the following functions (where possible):
Method
- getNumColumns
- Returns the total number of columns available.
- getNumLines
- Returns the total number of lines available.
- clear
- Clear the display and set the cursor to the home position.
- home
- Move the cursor to the home position ie top left corner.
- setXY
- Move the cursor to a given location.
- setLineWrap
- Turn automatic line wrapping on or off.
- setAutoScroll
- Turn auto-scrolling on or off.
- setBacklight
- Turn the display back light on or off (assuming that it has one and that it can be controlled in software).
- setBrightness
- Set the brightness of the display.
- setContrast
- Set the contrast of the display to a number between 0 (least) and 100 (most).
- horizGraph
- Draws a horizontal bar graph on the display.
- vertGraph
- Draws a vertical bar graph on the display.
The following classes provide additional functionality