Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
SPI_Lcd8_Chr
SPI_Lcd8_Chr_Cp
425
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure SPI_Lcd8_Chr(Row : byte; Column : byte; Out_Char : 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
procedure SPI_Lcd8_Chr_CP(Out_Char : 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');