User manual

Table Of Contents
mikroC PRO for PIC32
MikroElektronika
509
SPI_Lcd8_Chr_Cp
SPI_Lcd8_Cmd
Prototype
void SPI_Lcd8_Chr_CP(char out_char);
Description Prints character on Lcd at current cursor position. Both variables and literals can be passed as
character.
Parameters - out_char: character to be written
Returns Nothing.
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd8_Cong routine.
Example Print “e” at current cursor position:
// Write character “e” at current cursor position:
SPI_Lcd8_Chr_Cp(‘e’);
Notes None.
Prototype
void SPI_Lcd8_Cmd(char out_char);
Description Sends command to Lcd.
Parameters - out_char: command to be sent
Returns Nothing.
Requires Lcd needs to be initialized for SPI communication, see SPI_Lcd8_Cong routine.
Example
// Clear Lcd display:
SPI_Lcd8_Cmd(_LCD_CLEAR);
Notes Predened constants can be passed to the routine, see Available SPI Lcd8 Commands.