Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
SPI_Lcd_Out
SPI_Lcd_Out_Cp
417
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure SPI_Lcd_Out(row: byte; column: byte; var text:
array[20] of byte);
Returns
Nothing.
Description
Prints text on the Lcd starting from specified position. Both string variables and
literals 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_Lcd_Config routines.
Example
// Write text "Hello!" on Lcd starting from row 1, column 3:
SPI_Lcd_Out(1, 3, "Hello!");
Prototype
procedure SPI_Lcd_Out_CP(var text : array[20] of byte);
Returns
Nothing.
Description
Prints text on the Lcd at current cursor position. Both string variables and liter-
als can be passed as a text.
Parameters : 
text
: text to be written 
Requires
Lcd needs to be initialized for SPI communication, see SPI_Lcd_Config routines.
Example
// Write text "Here!" at current cursor position:
SPI_Lcd_Out_CP("Here!");