Datasheet
SPI_Lcd8_Out
SPI_Lcd8_Out_Cp
478
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void SPI_Lcd8_Out(unsigned short row, unsigned short column, char
*text);
Returns Nothing.
Description
Prints text on Lcd starting from specified position. Both string variables and liter-
als can be passed as a text.
Parameters :
- row: starting position row number
- column: starting position column number
-
text: text to be written
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd8_Config routines.
Example
// Write text "Hello!" on Lcd starting from row 1, column 3:
SPI_Lcd8_Out(1, 3, "Hello!");
Prototype
void SPI_Lcd8_Out_CP(char *text);
Returns Nothing.
Description
Prints text on Lcd at current cursor position. Both string variables and literals
can be passed as a text.
Parameters :
-
text: text to be written
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd8_Config routines.
Example
// Write text "Here!" at current cursor position:
SPI_Lcd8_Out_Cp("Here!");