User manual

mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
377
Lcd_Out
Lcd_Out_Cp
Lcd_Chr
Prototype
sub procedure Lcd_Out(dim row, column as word, dim byref text as string)
Description Prints text on Lcd starting from specied 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 The Lcd module needs to be initialized. See Lcd_Init routine.
Example
‘ Write text “Hello!” on Lcd starting from row 1, column 3:
Lcd_Out(1, 3, “Hello!”)
Notes None
Prototype
sub procedure Lcd_Chr(dim row, column as word, dim out_char as byte)
Description Prints character on Lcd at specied position. Both variables and literals can be passed as a
character.
Parameters - row: writing position row number
- column: writing position column number
- out_char: character to be written
Returns Nothing.
Requires The Lcd module needs to be initialized. See Lcd_Init routine.
Example
‘ Write character “i” at row 2, column 3:
Lcd_Chr(2, 3, “i”)
Notes None
Prototype
sub procedure Lcd_Out_Cp(dim byref text as string)
Returns Nothing.
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
Requires The Lcd module needs to be initialized. See Lcd_Init routine.
Example
‘ Write text “Here!” at current cursor position:
Lcd_Out_Cp(“Here!”)
Notes None