Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
Glcd_Set_Side
Glcd_Set_X
237
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure Glcd_Set_Side(x_pos: byte);
Returns
Nothing.
Description
Selects Glcd side. Refer to the Glcd datasheet for detailed explaination. 
Parameters : 
x_pos
: position on x-axis. Valid values: 0..127 
The parameter 
x_pos
specifies the Glcd side: values from 0 to 63 specify the
left side, values from 64 to 127 specify the right side.
Note: For side, x axis and page layout explanation see schematic at the bottom
of this page.
Requires
Glcd needs to be initialized, see Glcd_Init routine.
Example
The following two lines are equivalent, and both of them select
the left side of Glcd:
Glcd_Select_Side(0);
Glcd_Select_Side(10);
Prototype
procedure Glcd_Set_X(x_pos: byte);
Returns
Nothing.
Description
Sets x-axis position to x_pos dots from the left border of Glcd within the select-
ed side.
Parameters : 
x_pos
: position on x-axis. Valid values: 0..63 
Note: For side, x axis and page layout explanation see schematic at the bottom
of this page.
Requires
Glcd needs to be initialized, see Glcd_Init routine.
Example
Glcd_Set_X(25);