mikroC

making it simple...

Lcd_Chr

mikroC - C Compiler for Microchip PIC microcontrollers

Prototype

void Lcd_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 Port with LCD must be initialized. See Lcd_Config or Lcd_Init.

Example

Lcd_Out(2, 3, 'i'); // Print 'i' at line 2, char 3

Lcd_Chr_Cp

Prototype

void Lcd_Chr_Cp(char character);

Description Prints character on LCD at current cursor position. Both variables and literals can be passed as character.

Requires Port with LCD must be initialized. See Lcd_Config or Lcd_Init.

Example

Lcd_Out_Cp('e'); // Print 'e' at current cursor position

Lcd_Cmd

Prototype

void Lcd_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 shown on the following page.

Requires Port with LCD must be initialized. See Lcd_Config or Lcd_Init.

Example

Lcd_Cmd(Lcd_Clear); // Clear LCD display

 

 

page

 

MikroElektronika: Development tools - Books - Compilers

199