Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
mikroC PRO for PIC32
MikroElektronika
315
S1D13700_Write_Text
S1D13700_Dot
Prototype
void S1D13700_Write_Text(unsigned char *str, unsigned char x, unsigned char 
y, char mode);
Returns
Nothing.
Description Writes text in the current text panel of Glcd at coordinates (
x, y
).
Parameters: 
str
: text to be written. 
x
: text position on x-axis (column). 
y
: text position on y-axis (row). 
mode
: mode parameter. Valid values : 
Requires
Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
S1D13700_Write_Text(“EPSON LIBRARY DEMO, WELCOME !”, 0, 0, S1D13700_OVERLAY_
OR);
Prototype
void S1D13700_Dot(unsigned int x, unsigned int y, unsigned short color);
Returns
Nothing.
Description Draws a dot in the current graphic panel of Glcd at coordinates (x, y). 
Parameters: 
x
: dot position on x-axis. 
y
: dot position on y-axis. 
color
: color parameter. Valid values : 
Requires
Glcd module needs to be initialized. See the S1D13700_Init routine.
Example
S1D13700_Dot(50, 50, S1D13700_WHITE);
Value
Description
S1D13700_OVERLAY_OR
In the OR-Mode, text and graphics can be displayed and the data is 
logically “OR-ed”. 
This is the most common way of combining text and graphics, for 
example labels on buttons.
S1D13700_OVERLAY_XOR
In this mode, the text and graphics data are combined via the logical 
“exclusive OR”. 
S1D13700_OVERLAY_AND
The text and graphic data shown on display are combined via the logical 
“AND function”.
Value
Description
S1D13700_BLACK
Black color.
S1D13700_WHITE
White color.