Mikroelektronika MIKROE-724 データシート

ページ / 726
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
597
TFT_Dot
Prototype
sub procedure TFT_Dot(dim x, y as integer, dim color as word)
Returns
Nothing.
Description Draws a dot on the TFT at coordinates (x, y). 
Parameters: 
x
: dot position on x-axis. 
y
: dot position on y-axis. 
color
: color parameter. Valid values: 
Requires
TFT module needs to be initialized. See the TFT_Init routine.
Example
TFT_Dot(50, 50, CL_BLACK)
Value
Description
CL_AQUA
Aqua color
CL_BLACK
Black color
CL_BLUE
Blue color
CL_FUCHSIA
Fuchsia color
CL_GRAY
Gray color
CL_GREEN
Green color
CL_LIME
Lime color
CL_MAROON
Maroon color
CL_NAVY
Navy color
CL_OLIVE
Olive color
CL_PURPLE
Purple color
CL_RED
Red color
CL_SILVER
Silver color
CL_TEAL
Teal color
CL_WHITE
White color
CL_YELLOW
Yellow color