Datasheet

Glcd_Dot
288
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void Glcd_Dot(unsigned short x_pos, unsigned short y_pos,
unsigned short color);
Returns Nothing.
Description
Draws a dot on Glcd at coordinates (x_pos, y_pos).
Parameters :
- x_pos: x position. Valid values: 0..127
- y_pos: y position. Valid values: 0..63
- color: color parameter. Valid values: 0..2
The parameter
color determines a dot state: 0 clears dot, 1 puts a dot, and 2
inverts dot state.
Note: For x and y axis layout explanation see schematic at the bottom of this
page.
Requires Glcd needs to be initialized, see Glcd_Init routine.
Example
// Invert the dot in the upper left corner
Glcd_Dot(0, 0, 2);