User`s manual

PK220056 s Software Reference
int lc
_
cmd (int cmd)
Waits for LCD busy flag to clear, then sends cmd to LCD command
register.
RETURN VALUE: 0, if successful in writing to the LCD; else -1, if
timeout
void lc
_
ctrl (byte cmd)
Write a control cmd to the LCD.
RETURN VALUE: None.
void lc
_
init()
Initializes the LCD. The display is turned on, cleared, and the cursor
(now in the top left character position) blinks.
RETURN VALUE: None
void lc
_
nl()
Performs a new line function on the LCD.
RETURN VALUE: None
void lc
_
pos (int line, int column)
Positions the cursor at the line designated by line and column
designated by column on the LCD.
RETURN VALUE: None
void lc
_
printf (char* fmt, ...)
Performs a printf to the LCD. The function arguments are specified
as they are for the standard printf.
RETURN VALUE: None
int lc
_
wait()
Waits for LCD busy flag to clear. Caution, doesnt time out.
RETURN VALUE: 0, when LCD busy flag has cleared; else -1, if
timeout after ten tries.
void glSetBrushType(int type)
Sets the brush type for all following graphics operations in this library.
It controls how pixels are drawn on the screen with respect to existing
pixels.
PARAMETER1: This is the type of the brush. Possible values are
GL
_
SET for forcing pixels on, GL
_
CLEAR for forcing pixels off,
GL
_
XOR for toggling the existing pixels and GL
_
BLOCK to overwrite the
entire memory location corresponding to the pixel.
RETURN VALUE: None.