Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
SPI_T6963C_Box
SPI_T6963C_Circle
429
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_T6963C_Box(dim x0 as integerdim y0 as integer,
dim x1 as integerdim y1 as integerdim pcolor as byte)
Returns
Nothing.
Description
Draws a box on the Glcd
Parameters : 
x0:
x coordinate of the upper left box corner 
y0:
y coordinate of the upper left box corner 
x1:
x coordinate of the lower right box corner 
y1:
y coordinate of the lower right box corner 
pcolor:
color parameter. Valid values: SPI_T6963C_BLACK and  
SPI_T6963C_WHITE 
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_Box(0, 119, 239, 127, T6963C_WHITE)
Prototype
sub procedure SPI_T6963C_Circle(dim as integerdim as inte-
ger
dim as longintdim pcolor as byte)
Returns
Nothing.
Description
Draws a circle on the Glcd.
Parameters : 
x
: x coordinate of the circle center 
y:
y coordinate of the circle center 
r:
radius size 
pcolor:
color parameter. Valid values: SPI_T6963C_BLACK and  
SPI_T6963C_WHITE 
Requires
Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_Circle(120, 64, 110, T6963C_WHITE)