Mikroelektronika MIKROE-742 데이터 시트
Glcd_Write_Data
Glcd_Fill
239
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure Glcd_Write_Data(ddata: byte);
Returns
Nothing.
Description
Writes one byte to the current location in Glcd memory and moves to the
next location.
next location.
Parameters :
-
ddata
: data to be written
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.
Glcd_Set_Side, Glcd_Set_X, and Glcd_Set_Page.
Example
var data: byte;
...
...
Glcd_Write_Data(data);
Prototype
procedure Glcd_Fill(pattern: byte);
Returns
Nothing.
Description
Fills Glcd memory with the byte pattern.
Parameters :
-
pattern
: byte to fill Glcd memory with
To clear the Glcd screen, use
Glcd_Fill(0)
.
To fill the screen completely, use
Glcd_Fill(0xFF)
.
Requires
Glcd needs to be initialized, see Glcd_Init routine.
Example
' Clear screen
Glcd_Fill(0);