User manual

Table Of Contents
350
mikoC PRO for PIC32
MikroElektronika
Lcd_Out
Lcd_Out_Cp
Lcd_Chr
Prototype
void Lcd_Out(unsigned int row, unsigned int column, char *text);
Description Prints text on Lcd starting from specied position. Both string variables and literals can be passed as
a text.
Parameters - row: starting position row number
- column: starting position column number
- text: text to be written
Returns Nothing.
Requires The Lcd module needs to be initialized. See Lcd_Init routine.
Example
// Write text “Hello!” on Lcd starting from row 1, column 3:
Lcd_Out(1, 3, “Hello!”);
Notes None
Prototype
void Lcd_Chr(unsigned int row, unsigned int column, char out_char);
Description Prints character on Lcd at specied position. Both variables and literals can be passed as a
character.
Parameters - row: writing position row number
- column: writing position column number
- out_char: character to be written
Returns Nothing.
Requires The Lcd module needs to be initialized. See Lcd_Init routine.
Example
// Write character “i” at row 2, column 3:
Lcd_Chr(2, 3, ‘i’);
Notes None
Prototype
void Lcd_Out_Cp(char *text);
Returns Nothing.
Description Prints text on Lcd at current cursor position. Both string variables and literals can be passed as a
text.
Parameters - text: text to be written
Requires The Lcd module needs to be initialized. See Lcd_Init routine.
Example
// Write text “Here!” at current cursor position:
Lcd_Out_Cp(“Here!”);
Notes None