mikroElektronika PIC Microcontrollers PIC12 User Manual page 219

Mikroc user's manual
Table of Contents

Advertisement

mikroC
making it simple...
Glcd_Write_Data
Prototype
void Glcd_Write_Data(unsigned short data);
Description
Writes
Requires
GLCD needs to be initialized. See
Example
Glcd_Write_Data(data);
Glcd_Fill
Prototype
void Glcd_Fill(unsigned short pattern);
Description
Fills the GLCD memory with byte pattern. To clear the GLCD screen, use
Glcd_Fill(0)
Requires
GLCD needs to be initialized. See
Example
Glcd_Fill(0);
Glcd_Dot
Prototype
void Glcd_Dot(unsigned short x, unsigned short y, char color);
Description
Draws a dot on the GLCD at coordinates
state: 0 clears dot, 1 puts a dot, and 2 inverts dot state.
Requires
GLCD needs to be initialized. See
Example
Glcd_Dot(0, 0, 2); // Invert the dot in the upper left corner
MikroElektronika: Development tools - Books - Compilers
to the current location in GLCD memory and moves to the next location.
data
; to fill the screen completely, use
// Clear screen
mikroC - C Compiler for Microchip PIC microcontrollers
.
Glcd_Init
Glcd_Fill($FF)
.
Glcd_Init
. Parameter color determines the dot
(x, y)
.
Glcd_Init
.
page
211

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?

This manual is also suitable for:

Pic microcontrollers pic16Pic microcontrollers pic18

Table of Contents