Datasheet

SPI_Glcd_Set_X
SPI_Glcd_Read_Data
456
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void SPI_Glcd_Set_X(char x_pos);
Returns Nothing.
Description
Sets x-axis position to x_pos dots from the left border of Glcd within the select-
ed side.
Parameters :
- x_pos: position on x-axis. Valid values: 0..63
Note: For side, x axis and page layout explanation see schematic at the bottom
of this page.
Requires Glcd needs to be initialized for SPI communication, see SPI_Glcd_Init routines.
Example
SPI_Glcd_Set_X(25);
Prototype
char SPI_Glcd_Read_Data();
Returns One byte from Glcd memory.
Description
Reads data from the current location of Glcd memory and moves to the next
location.
Requires
Glcd needs to be initialized for SPI communication, see SPI_Glcd_Init routines.
Glcd side, x-axis position and page should be set first. See the functions
SPI_Glcd_Set_Side, SPI_Glcd_Set_X, and SPI_Glcd_Set_Page.
Example
char data;
...
data = SPI_Glcd_Read_Data();