Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
Glcd_Set_Page
Glcd_Read_Data
238
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure Glcd_Set_Page(page: 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
function Glcd_Read_Data(): 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
var data: byte;
...
data := Glcd_Read_Data();