Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
Lcd_Out
Lcd_Out_Cp
256
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure Lcd_Out(row: byte; column: byte; var text: array [20]
of char);
Returns
Nothing.
Description
Prints text on Lcd starting from specified position. Both string variables and liter-
als can be passed as a text.
Parameters : 
row
: starting position row number 
column
: starting position column number 
-
text
: text to be written 
Requires
The Lcd module needs to be initialized. See Lcd_Init routine.
Example
// Write text "Hello!" on Lcd starting from row 1, column 3:
Lcd_Out(1, 3, "Hello!");
Prototype
procedure Lcd_Out_Cp(var text: array [20] of char);
Returns
Nothing.
Description
Prints text on Lcd at current cursor position. Both string variables and literals
can be passed as a text.
Parameters : 
text
: text to be written 
Requires
The Lcd module needs to be initialized. See Lcd_Init routine.
Example
// Write text "Here!" at current cursor position:
Lcd_Out_Cp("Here!");