User manual

535
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
SPI_Lcd_Out_Cp
SPI_Lcd_Chr
SPI_Lcd_Chr_Cp
Prototype
procedure SPI_Lcd_Out_CP(var text : string); // write text at current pos
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
procedure SPI_Lcd_Chr(Row, Column, Out_Char : byte);
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
procedure SPI_Lcd_Chr_CP(Out_Char : byte);
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.