Datasheet

SPI_T6963C_Box
SPI_T6963C_Circle
492
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void SPI_T6963C_Box(int x0, int y0, int x1, int y1, unsigned char
pcolor);
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
void SPI_T6963C_Circle(int x, int y, long r, unsigned char pcol-
or);
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);