Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
mikroC PRO for PIC32
MikroElektronika
547
T6963C_circle_fill
T6963C_image
Prototype
void T6963C_circle_fill(int x, int y, long r, unsigned char pcolor);
Description Draws a filled circle on Glcd.
Parameters 
x
: x coordinate of the circle center 
y
: y coordinate of the circle center 
r
: radius size 
pcolor
: color parameter. Valid values: 
T6963C_BLACK
 and 
T6963C_WHITE 
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
T6963C_circle_fill(120, 64, 110, T6963C_WHITE);
Notes
None.
Prototype
void T6963C_image(const code char *pic);
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 
mikroC PRO for PIC32 pointer to const and pointer to RAM equivalency). 
Returns
Nothing.
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_init routine.
Example
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.