mikroC

mikroC - C Compiler for Microchip PIC microcontrollers

making it simple...

Glcd_Set_Page

Prototype

void Glcd_Set_Page(unsigned short page);

Description Selects page of GLCD, technically a line on display; parameter page can be 0..7.

Requires GLCD needs to be initialized. See Glcd_Init.

Example Glcd_Set_Page(5);

Glcd_Set_X

Prototype

void Glcd_Set_X(unsigned short x_pos);

Description Positions to x dots from the left border of GLCD within the given page.

Requires GLCD needs to be initialized. See Glcd_Init.

Example Glcd_Set_X(25);

Glcd_Read_Data

Prototype

unsigned short Glcd_Read_Data(void);

Returns One word from the GLCD memory.

Description Reads data from from the current location of GLCD memory. Use the functions Glcd_Set_Side, Glcd_Set_X, and Glcd_Set_Page to specify an exact position on GLCD. Then, you can use Glcd_Write_Data or Glcd_Read_Data on that location.

Requires Reads data from from the current location of GLCD memory.

 

 

Example

tmp = Glcd_Read_Data();

 

 

 

 

 

 

 

 

page

 

 

 

 

 

 

 

210

MikroElektronika: Development tools - Books - Compilers