#include <otLCD.h>
Inheritance diagram for otLCD:

Public Types | |
| enum | GraphTypes { VERTICAL_BAR_GRAPH = 1, HORIZONTAL_BAR_GRAPH = 2, HORIZONTAL_LINE_GRAPH = 3 } |
Public Member Functions | |
| otLCD () | |
| void | init (U8 cols, U8 lines, U8 charsize=0, U8 add=0x27) |
| U32 | print (int col, int row, const char *format,...) |
| void | clear () |
| void | clear (U8 rowStart, U8 colStart=0, U8 colCnt=255) |
| void | setCursor (U8 col, U8 row) |
| void | backLight (bool ena=true) |
| void | display (bool ena=true) |
| void | cursor (bool ena=true) |
| void | blink (bool ena=true) |
| void | autoscroll (bool ena=true) |
| void | scroll (bool left=true) |
| void | textFlow (bool leftToRight=true) |
| void | newChar (U8 location, const U8 charmap[]) |
| bool | bargraph (U8 graphtype) |
| void | drawHorizontalGraph (U8 row, U8 column, U8 len, U8 pixel_col_end) |
| void | drawHorizontalGraph (U8 row, U8 column, U8 len, U16 percentage) |
| void | drawHorizontalGraph (U8 row, U8 column, U8 len, F32 ratio) |
| void | drawVerticalGraph (U8 row, U8 column, U8 len, U8 pixel_row_end) |
| void | drawVerticalGraph (U8 row, U8 column, U8 len, U16 percentage) |
| void | drawVerticalGraph (U8 row, U8 column, U8 len, F32 ratio) |
| void | home () |
| void | command (U8 value) |
| U32 | write (U8 value) |
|
|
|
|
|
Create the class |
|
|
This will 'right justify' text from the cursor
|
|
|
Turn on/off LCD backlight
|
|
|
Create a bargraph according selected type
|
|
|
Turn on/off blink of display cursor.
|
|
||||||||||||||||
|
Clear selected region of display
|
|
|
Clear display |
|
|
Mid level commands, for sending data/cmds
|
|
|
Turn on/off display cursor
|
|
|
Turn on/off LCD
|
|
||||||||||||||||||||
|
Overloaded methods with type difference of graph value
|
|
||||||||||||||||||||
|
Overloaded methods with type difference of graph value
|
|
||||||||||||||||||||
|
Display horizontal graph from desired cursor position with input value
|
|
||||||||||||||||||||
|
Overloaded methods with type difference of graph value
|
|
||||||||||||||||||||
|
Overloaded methods with type difference of graph value
|
|
||||||||||||||||||||
|
Display vertical graph from desired cursor position with input value.
|
|
|
Set cursor position to zero. This command takes a long time! |
|
||||||||||||||||||||
|
Init the class
|
|
||||||||||||
|
Allows us to fill the first 8 CGRAM locations with custom characters
|
|
||||||||||||||||||||
|
Like printf but with cursor positioning
|
|
|
Select how to do text scroll. These commands scroll the display without changing the RAM
|
|
||||||||||||
|
Set cursor position
|
|
|
This is for text that flows Left to Right or viceversa
|
|
|
Write a character on display
|