ABL electronic PIC Microcontrollers PIC18 Manual Do Utilizador

Página de 312
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