User manual
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
555
SPI_T6963C_circle
SPI_T6963C_circle_ll
Prototype
sub procedure SPI_T6963C_circle(dim x, y as integer, dim r as longint, dim
pcolor as 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_Cong routine.
Example
SPI_T6963C_circle(120, 64, 110, SPI_T6963C_WHITE)
Notes None.
Prototype
sub procedure SPI_T6963C_circle_ll(dim x as integer, dim y as integer, dim
r as longint, dim pcolor as byte)
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_Cong routine.
Example
SPI_T6963C_circle_ll(120, 64, 110, SPI_T6963C_WHITE)
Notes None.
SPI_T6963C_image
Prototype
sub procedure SPI_T6963C_image(dim pic as ^ 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
mikroBasic 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_Cong 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.