Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
SPI LCD LIBRARY
The mikroBasic PRO for AVR 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.
Note: The library uses the SPI module for communication. The user must initialize
the SPI module before using the SPI Lcd Library.
Note: 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.
External dependencies of SPI Lcd Library
The implementation of SPI Lcd Library routines is based on Port Expander Library
routines.
Prior to calling any of this library routines, Spi_Rd_Ptr needs to be initialized with the
appropriate SPI_Read routine.
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 
406
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6