Mikroc, Lcd8_chr, Lcd8_chr_cp – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 213: Lcd8_cmd

Advertising
background image

MikroElektronika: Development tools - Books - Compilers

205

page

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

Prototype

void

Lcd8_Chr(char row, char col, char character);

Description

Prints

character

on LCD at specified row and column (parameters

row

and

col

).

Both variables and literals can be passed as

character

.

Requires

Ports with LCD must be initialized. See

Lcd8_Config

or

Lcd8_Init

.

Example

Lcd8_Out(2, 3, 'i');

// Print 'i' at line 2, char 3

Lcd8_Chr

Prototype

void

Lcd8_Chr_Cp(char character);

Description

Prints

character

on LCD at current cursor position. Both variables and literals can be

passed as

character

.

Requires

Ports with LCD must be initialized. See

Lcd8_Config

or

Lcd8_Init

.

Example

Lcd8_Out_Cp('e');

// Print 'e' at current cursor position

Lcd8_Chr_Cp

Prototype

void

Lcd8_Cmd(char command);

Description

Sends

command

to LCD. You can pass one of the predefined constants to the function.

The complete list of available commands is on the page 186.

Requires

Ports with LCD must be initialized. See

Lcd8_Config

or

Lcd8_Init

.

Example

Lcd8_Cmd(Lcd_Clear);

// Clear LCD display

Lcd8_Cmd

Advertising
This manual is related to the following products: