Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
Glcd_Set_Page
Glcd_Read_Data
222
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure Glcd_Set_Page(dim page as byte)
Returns
Nothing.
Description
Selects page of the Glcd.
Parameters : 
page:
page number. Valid values: 0..7 
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_Page(5)
Prototype
sub function Glcd_Read_Data() as byte
Returns
One byte from Glcd memory.
Description
Reads data from from the current location of Glcd memory and moves to the
next location.
Requires
Glcd needs to be initialized, see Glcd_Init routine.
Glcd side, x-axis position and page should be set first. See functions
Glcd_Set_Side, Glcd_Set_X, and Glcd_Set_Page.
Example
dim data as byte
...
data = Glcd_Read_Data()