Datasheet
Glcd_Set_Side
Glcd_Set_X
285
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void Glcd_Set_Side(unsigned short x_pos);
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
void Glcd_Set_X(unsigned short x_pos);
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);