Datasheet

SPI_T6963C_Box
SPI_T6963C_Circle
438
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure SPI_T6963C_Box(x0 : integer; y0 : integer; x1 : inte-
ger; y1 : integer; pcolor : 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
procedure SPI_T6963C_Circle(x : integer; y : integer; r :
longint; pcolor : word);
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);