Mikroelektronika MIKROE-350 データシート
SPI_Lcd_Chr
SPI_Lcd_Chr_Cp
409
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_Lcd_Chr(dim Row as byte, dim Column as byte,
dim Out_Char as byte)
dim Out_Char as byte)
Returns
Nothing.
Description
Prints character on Lcd at specified position. Both variables and literals can be
passed as character.
passed as character.
Parameters :
-
Row:
writing position row number
-
Column:
writing position column number
-
Out_Char:
character to be written
Requires
Lcd needs to be initialized for SPI communication, see SPI_Lcd_Config routines.
Example
' Write character "i" at row 2, column 3:
SPI_Lcd_Chr(2, 3, 'i')
Prototype
sub procedure SPI_Lcd_Chr_CP(dim Out_Char as byte)
Returns
Nothing.
Description
Prints character on Lcd at current cursor position. Both variables and literals
can be passed as character.
can be passed as character.
Parameters :
-
Out_Char:
character to be written
Requires
Lcd needs to be initialized for SPI communication, see SPI_Lcd_Config routines.
Example
' Write character "e" at current cursor position:
SPI_Lcd_Chr_Cp('e')
SPI_Lcd_Chr_Cp('e')