Datasheet

Glcd_Write_Data
Glcd_Fill
287
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void Glcd_Write_Data(unsigned short ddata);
Returns Nothing.
Description
Writes one byte to the current location in Glcd memory and moves to the 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.
Example
unsigned short data;
...
Glcd_Write_Data(data);
Prototype
void Glcd_Fill(unsigned short pattern);
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);