lcd Class Reference
lcd.H Interface to an LCD screen via serial port
More...
#include <Devices/lcd.H>
List of all members.
Detailed Description
lcd.H Interface to an LCD screen via serial port
LCD Class. Contains interfaces to display to a LCD connected via a serial port. If you need more than a serial port to connect to an LCD, that LCD must be very special. Note that the code is made for Backpack LCDs by SEETRON.
Definition at line 53 of file lcd.H.
Constructor & Destructor Documentation
Destructor.
Definition at line 74 of file lcd.C.
Member Function Documentation
Makes cursor a blinking block.
Definition at line 154 of file lcd.C.
bool lcd::blinkUnderline |
( |
|
) |
|
Makes cursor a blinking underline.
Definition at line 158 of file lcd.C.
Clears LCD screen.
Definition at line 110 of file lcd.C.
Moves cursor to start of screen.
Definition at line 132 of file lcd.C.
bool lcd::invisibleCursor |
( |
|
) |
|
Makes cursor invisible (not recommended).
Definition at line 162 of file lcd.C.
bool lcd::moveCursorLeft |
( |
const int |
i |
) |
|
Moves cursor left by i positions.
Definition at line 136 of file lcd.C.
bool lcd::moveCursorRight |
( |
const int |
i |
) |
|
Moves cursor right by i positions.
Definition at line 145 of file lcd.C.
bool lcd::printf |
( |
const int |
x, |
|
|
const int |
y, |
|
|
const char * |
fmt, |
|
|
|
... | |
|
) |
| | |
bool lcd::scrollLeft |
( |
const int |
i |
) |
|
Scrolls display left by i positions.
Definition at line 114 of file lcd.C.
bool lcd::scrollRight |
( |
const int |
i |
) |
|
Scrolls display right by i positions.
Definition at line 123 of file lcd.C.
bool lcd::setCursorPosition |
( |
const int |
i |
) |
|
Sets cursor position to i.
Definition at line 166 of file lcd.C.
Referenced by printf().
bool lcd::writeString |
( |
const char * |
s |
) |
|
Takes a string and outputs to LCD.
Definition at line 106 of file lcd.C.
References itsPort.
Referenced by printf().
Member Data Documentation
number of rows (lines of text)
Definition at line 113 of file lcd.H.
Referenced by printf().
The documentation for this class was generated from the following files: