Mikroelektronika MIKROE-738 Datenbogen

Seite von 682
500
mikoC PRO for PIC32
MikroElektronika
SPI Lcd Library
The mikroC PRO for PIC32 provides a library for communication with Lcd (with HD44780 compliant controllers) in 4-bit 
mode via SPI interface.
For creating a custom set of Lcd characters use Lcd Custom Character Tool.
Important
- When using this library with PIC32 family MCUs be aware of their voltage incompatibility with certain number of Lcd 
modules. 
So, additional external power supply for these modules may be required. 
- Library uses the SPI module for communication. The user must initialize the appropriate SPI module before using the 
SPI Lcd Library. 
- For MCUs with multiple SPI modules it is possible to initialize all of them and then switch by using the 
SPI_Set_
Active()
 routine. See the SPI Library functions. 
- This Library is designed to work with the mikroElektronika’s Serial Lcd Adapter Board pinout, see schematic at the 
bottom of this page for details. 
Library Dependency Tree
External dependencies of SPI Lcd Library
The implementation of SPI Lcd Library routines is based on Port Expander Library routines.
External dependencies are the same as Port Expander Library external dependencies.
Library Routines
 
- SPI_Lcd_Config 
 
- SPI_Lcd_Out 
 
- SPI_Lcd_Out_Cp 
 
- SPI_Lcd_Chr 
 
- SPI_Lcd_Chr_Cp 
 
- SPI_Lcd_Cmd