Mikroelektronika MIKROE-350 Fiche De Données
SPI_Lcd8_Out
SPI_Lcd8_Out_Cp
415
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_Lcd8_Out(dim row as byte, dim column as byte,
dim byref text as string[19])
dim byref text as string[19])
Returns
Nothing.
Description
Prints text on Lcd starting from specified position. Both string variables and liter-
als can be passed as a text.
als 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_Lcd8_Config routines.
Example
' Write text "Hello!" on Lcd starting from row 1, column 3:
SPI_Lcd8_Out(1, 3, "Hello!")
Prototype
sub procedure SPI_Lcd8_Out_CP(dim text as string[19])
Returns
Nothing.
Description
Prints text on Lcd at current cursor position. Both string variables and literals
can be passed as a text.
can be passed as a text.
Parameters :
-
text:
text to be written
Requires
Lcd needs to be initialized for SPI communication, see SPI_Lcd8_Config routines.
Example
' Write text "Here!" at current cursor position:
SPI_Lcd8_Out_CP("Here!")