mikroC - C Compiler for Microchip PIC microcontrollers
Glcd_Image
Prototype
void Glcd_Image(const char *image);
Description
Displays bitmap image on the GLCD. Parameter
of integers. Use the mikroC's integrated Bitmap-to-LCD editor (menu option Tools >
BMP2LCD) to convert image to a constant array suitable for display on GLCD.
Requires
GLCD needs to be initialized. See
Example
Glcd_Image(my_image);
Glcd_Partial_Image
Prototype
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
an array of 1024 bytes. Parameters (
the lower right corner of the clip. Parameter
image (clear dots), 1 draws a "black" image (put dots), and 2 draws an inverted image
(invert each dot).
Use the mikroC's integrated Bitmap-to-LCD editor (menu option Tools > Graphic LCD
Editor) to convert image to a constant array suitable for display on GLCD.
Requires
GLCD needs to be initialized. See
Example
Glcd_Partial_Image(0, 0, 32, 64, 1, my_image);
page
216
.
Glcd_Init
,
) set the upper left corner, and (
x1
y1
color
.
Glcd_Init
MikroElektronika: Development tools - Books - Compilers
should be formatted as an array
image
should be formatted as
image
x2
defines the fill: 0 draws a "white"
mikroC
making it simple...
,
) set
y2
Need help?
Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?