Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
mikroC PRO for PIC32
MikroElektronika
567
TFT_Write_Char
TFT_Write_Text
Prototype
void TFT_Write_Char(unsigned int c, unsigned int x, unsigned int y);
Returns
Nothing.
Description Writes a char on the TFT at coordinates (x, y).
c
: char to be written. 
x
: char position on x-axis. 
y
: char position on y-axis. 
Requires
TFT module needs to be initialized. See the TFT_Init routine.
Example
TFT_Write_Char(‘A’,22,23,);
Prototype
void TFT_Write_Text(unsigned char *text, unsigned int x, unsigned int y);
Returns
Nothing.
Description Writes text on the TFT at coordinates (x, y).
Parameters:
text
: text to be written. 
x
: text position on x-axis. 
y
: text position on y-axis. 
Requires
TFT module needs to be initialized. See the TFT_Init routine.
Example
TFT_Write_Text(“TFT LIBRARY DEMO, WELCOME !”, 0, 0,);