User manual

Table Of Contents
mikroC PRO for PIC32
MikroElektronika
487
SPI_Glcd_Read_Data
SPI_Glcd_Write_Data
Prototype
char SPI_Glcd_Read_Data();
Description Reads data from the current location of Glcd memory and moves to the next location.
Returns One byte from Glcd memory.
Requires Glcd needs to be initialized for SPI communication, see SPI_Glcd_Init routine.
Glcd side, x-axis position and page should be set rst. See the functions SPI_Glcd_Set_Side, SPI_
Glcd_Set_X, and SPI_Glcd_Set_Page.
Parameters None.
Example
char data_;
...
data_ = SPI_Glcd_Read_Data();
Notes None.
Prototype
void SPI_Glcd_Write_Data(char data_);
Description Writes one byte to the current location in Glcd memory and moves to the next location.
Parameters - data_: data to be written
Returns Nothing.
Requires Glcd needs to be initialized for SPI communication, see SPI_Glcd_Init routine.
Glcd side, x-axis position and page should be set rst. See the functions SPI_Glcd_Set_Side, SPI_
Glcd_Set_X, and SPI_Glcd_Set_Page.
Example
char data_;
...
SPI_Glcd_Write_Data(data_);
Notes None.