Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
SPI LCD8 (8-BIT INTERFACE) LIBRARY
The mikroBasic PRO for AVR provides a library for communication with Lcd (with
HD44780 compliant controllers) in 8-bit mode via SPI interface.
For creating a custom set of Lcd characters use Lcd Custom Character Tool.
Note: 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 mikroElektronika's Serial Lcd/Glcd
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 dependen-
cies.
Library Routines
- SPI_Lcd8_Config 
- SPI_Lcd8_Out 
- SPI_Lcd8_Out_Cp 
- SPI_Lcd8_Chr 
- SPI_Lcd8_Chr_Cp 
- SPI_Lcd8_Cmd 
413
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6