User manual

541
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
SPI_Lcd8_Out_Cp
SPI_Lcd8_Chr
Prototype
procedure SPI_Lcd8_Out_CP(var text: string);
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
Returns Nothing.
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd8_Cong routine.
Example
// Write text “Here!” at current cursor position:
SPI_Lcd8_Out_Cp(‘Here!’);
Notes None.
Prototype
procedure SPI_Lcd8_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_Lcd8_Cong routine.
Example
// Write character “i” at row 2, column 3:
SPI_Lcd8_Chr(2, 3, ‘i’);
Notes None.
SPI_Lcd8_Chr_Cp
Prototype
procedure SPI_Lcd8_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_Lcd8_Cong routine.
Example Print “e” at current cursor position:
// Write character “e” at current cursor position:
SPI_Lcd8_Chr_Cp(‘e’);
Notes None.