Datasheet

Glcd_Set_Side
Glcd_Set_X
221
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure Glcd_Set_Side(dim x_pos as 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
sub procedure Glcd_Set_X(dim x_pos as 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)