User manual

Table Of Contents
502
mikoC PRO for PIC32
MikroElektronika
SPI_Lcd_Out_Cp
SPI_Lcd_Chr
SPI_Lcd_Chr_Cp
Prototype
void SPI_Lcd_Out_CP(char *text);
Description Prints text on the Lcd at current cursor position. Both string variables and literals can be passed as a
text.
Parameters - text: text to be written
Returns Nothing.
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd_Cong routine.
Example
// Write text “Here!” at current cursor position:
SPI_Lcd_Out_CP(“Here!”);
Notes None.
Prototype
void SPI_Lcd_Chr(char Row, char Column, char Out_Char);
Description Prints character on Lcd at specied position. Both variables and literals can be passed as character.
Parameters - Row: writing position row number
- Column: writing position column number
- Out_Char: character to be written
Returns Nothing.
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd_Cong routine.
Example
// Write character “i” at row 2, column 3:
SPI_Lcd_Chr(2, 3, ‘i’);
Notes None.
Prototype
void SPI_Lcd_Chr_CP(char Out_Char);
Description Prints character on Lcd at current cursor position. Both variables and literals can be passed as
character.
Parameters - Out_Char: character to be written
Returns Nothing.
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd_Cong routine.
Example
// Write character “e” at current cursor position:
SPI_Lcd_Chr_Cp(‘e’);
Notes None.