Mikroelektronika MIKROE-724 データシート
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
555
SPI_T6963C_circle
SPI_T6963C_circle_fill
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 -
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_Config routine.
Example
SPI_T6963C_circle(120, 64, 110, SPI_T6963C_WHITE)
Notes
None.
Prototype
sub procedure SPI_T6963C_circle_fill(dim x as integer, dim y as integer, dim
r as longint, dim pcolor as byte)
Description Draws a filled circle on the Glcd.
Parameters -
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_Config routine.
Example
SPI_T6963C_circle_fill(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 -
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_Config 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.