Mikroelektronika MIKROE-724 データシート
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
595
TFT_Write_Char
TFT_Write_Text
Prototype
sub procedure TFT_Write_Char(dim ch, x, y as word)
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
sub procedure TFT_Write_Text(dim byref text as string, dim x, y as word)
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)