User manual

553
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
SPI_T6963C_rectangle_round_edges_ll
Prototype
procedure SPI_T6963C_rectangle_round_edges_ll(x0 : integer; y0 : integer;
x1 : integer; y1 : integer; radius : integer; pcolor : byte);
Description Draws a lled rounded edge rectangle on Glcd.
Parameters - x0: x coordinate of the upper left rectangle corner
- y0: y coordinate of the upper left rectangle corner
- x1: x coordinate of the lower right rectangle corner
- y1: y coordinate of the lower right rectangle corner
- round_radius: radius of the rounded edge
- pcolor: color parameter. Valid values: SPI_T6963C_BLACK and SPI_T6963C_WHITE
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_rectangle_round_edges_ll(20, 20, 219, 107, 12, SPI_T6963C_
WHITE);
Notes None.
SPI_T6963C_box
Prototype
procedure SPI_T6963C_box(x0, y0, x1, y1 : integer; pcolor : byte);
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
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_box(0, 119, 239, 127, SPI_T6963C_WHITE);
Notes None.