Datasheet

SPI_Lcd_Out
SPI_Lcd_Out_Cp
408
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_Lcd_Out(dim row as byte, dim column as byte,
dim byref text as string[20])
Returns Nothing.
Description
Prints text on the Lcd starting from specified 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
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd_Config routines.
Example
' Write text "Hello!" on Lcd starting from row 1, column 3:
SPI_Lcd_Out(1, 3, "Hello!")
Prototype
sub procedure SPI_Lcd_Out_CP(dim text as string[19])
Returns Nothing.
Description
Prints text on the Lcd at current cursor position. Both string variables and liter-
als can be passed as a text.
Parameters :
-
text: text to be written
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd_Config routines.
Example
' Write text "Here!" at current cursor position:
SPI_Lcd_Out_CP("Here!")