Mikroc, Glcd_set_page, Glcd_set_x – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 218: Glcd_read_data

Advertising
background image

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

210

MikroElektronika: Development tools - Books - Compilers

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_Page

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_Set_X

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();

Glcd_Read_Data

Advertising
This manual is related to the following products: