Mikroelektronika MIKROE-742 데이터 시트
SPI_Lcd_Chr
SPI_Lcd_Chr_Cp
418
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure SPI_Lcd_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.
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
procedure SPI_Lcd_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.
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');