Download mikroPascal PRO for PIC32 User Manual

Transcript
mikoPascal PRO for PIC32
SPI_Lcd_Out_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_Config routine.
Example
// Write text “Here!” at current cursor position:
SPI_Lcd_Out_CP(“Here!”);
Notes
None.
SPI_Lcd_Chr
Prototype
procedure SPI_Lcd_Chr(Row, Column, Out_Char : byte);
Description Prints character on Lcd at specified 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_Config routine.
Example
// Write character “i” at row 2, column 3:
SPI_Lcd_Chr(2, 3, ‘i’);
Notes
None.
SPI_Lcd_Chr_Cp
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_Config routine.
Example
// Write character “e” at current cursor position:
SPI_Lcd_Chr_Cp(‘e’);
Notes
None.
MikroElektronika
464