User manual
470
mikoPascal PRO for PIC32
MikroElektronika
SPI_Lcd8_Out
SPI_Lcd8_Out_Cp
SPI_Lcd8_Chr
Prototype
procedure SPI_Lcd8_Out(row, column: byte; var text: string);
Description Prints text on Lcd starting from specied 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 Lcd needs to be initialized for SPI communication, see SPI_Lcd8_Cong routine.
Example
// Write text “Hello!” on Lcd starting from row 1, column 3:
SPI_Lcd8_Out(1, 3, ‘Hello!’);
Notes None.
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_Cong 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 specied 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_Cong routine.
Example
// Write character “i” at row 2, column 3:
SPI_Lcd8_Chr(2, 3, ‘i’);
Notes None.