User manual
mikroC PRO for dsPIC
MikroElektronika
577
SPI_T6963C_line
SPI_T6963C_rectangle
Prototype
void  SPI_T6963C_line(int  x0,  int  y0,  int  x1,  int  y1,  unsigned  char 
pcolor);
Description Draws a line from (x0, y0) to (x1, y1).
Parameters - x0: x coordinate of the line start 
- y0: y coordinate of the line end 
- x1: x coordinate of the line start 
- y1: y coordinate of the line end 
- 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_Cong routine.
Example
SPI_T6963C_line(0, 0, 239, 127, SPI_T6963C_WHITE);
Notes None.
Prototype
void  SPI_T6963C_rectangle(int  x0,  int  y0,  int  x1,  int  y1,  unsigned  char 
pcolor);
Description Draws a 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 
- 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_Cong routine.
Example
SPI_T6963C_rectangle(20, 20, 219, 107, SPI_T6963C_WHITE);
Notes None.










