mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
Prototype | void Glcd_Image(const char *image); |
Description Displays bitmap image on the GLCD. Parameter image should be formatted as an array of integers. Use the mikroC’s integrated
Requires GLCD needs to be initialized. See Glcd_Init.
Example Glcd_Image(my_image);
Glcd_Partial_ImagePrototype | void Glcd_Partial_Image(unsigned short x1, unsigned short y1, |
| unsigned short x2, unsigned short y2, unsigned short color, |
| const char *image); |
|
|
Description | Displays partial bitmap image on the GLCD. Parameter image should be formatted as |
| an array of 1024 bytes. Parameters (x1, y1) set the upper left corner, and (x2, y2) set |
| the lower right corner of the clip. Parameter color defines the fill: 0 draws a “white” |
| image (clear dots), 1 draws a “black” image (put dots), and 2 draws an inverted image |
| (invert each dot). |
| Use the mikroC’s integrated |
| Editor) to convert image to a constant array suitable for display on GLCD. |
|
|
Requires | GLCD needs to be initialized. See Glcd_Init. |
|
|
Example | Glcd_Partial_Image(0, 0, 32, 64, 1, my_image); |
|
|
page |
|
216 | MikroElektronika: Development tools - Books - Compilers |
|