User manual

Table Of Contents
522
mikoC PRO for PIC32
MikroElektronika
SPI_T6963C_box
SPI_T6963C_circle
SPI_T6963C_circle_ll
Prototype
void SPI_T6963C_box(int x0, int y0, int x1, int y1, unsigned char pcolor);
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.
Prototype
void SPI_T6963C_circle(int x, int y, long r, unsigned char pcolor);
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
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_circle(120, 64, 110, SPI_T6963C_WHITE);
Notes None.
Prototype
void SPI_T6963C_circle_ll(int x, int y, long r, unsigned char pcolor);
Description Draws a lled 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
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_circle_ll(120, 64, 110, SPI_T6963C_WHITE);
Notes None.