User manual

mikroPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
554
SPI_T6963C_circle
SPI_T6963C_circle_ll
Prototype
procedure SPI_T6963C_circle(x, y : integer; r : longint; pcolor : word);
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
procedure SPI_T6963C_circle_ll(x : integer; y : integer; r : longint;
pcolor : word);
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.
SPI_T6963C_image
Prototype
procedure SPI_T6963C_image(pic : ^ const byte);
Description Displays bitmap on Glcd.
Parameters - pic: image to be displayed. Bitmap array can be located in both code and RAM memory (due to the
mikroPascal PRO for dsPIC30/33 and PIC24 pointer to const and pointer to RAM equivalency).
Returns Nothing.
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Cong routine.
Example
SPI_T6963C_image(my_image)
Notes Image dimension must match the display dimension.
Use the integrated Glcd Bitmap Editor (menu option Tools › Glcd Bitmap Editor) to convert image to
a constant array suitable for displaying on Glcd.