Mikroelektronika MIKROE-350 データシート

ページ / 526
SPI_Lcd8_Chr
SPI_Lcd8_Chr_Cp
416
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_Lcd8_Chr(dim Row as bytedim Column 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.
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_Lcd8_Config routines.
Example
' Write character "i" at row 2, column 3:
SPI_Lcd8_Chr(2, 3, 'i')
Prototype
sub procedure SPI_Lcd8_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.
Parameters : 
out_char:
character to be written 
Requires
Lcd needs to be initialized for SPI communication, see SPI_Lcd8_Config routines.
Example
Print “e” at current cursor position:
' Write character "e" at current cursor position:
SPI_Lcd8_Chr_Cp('e')