lcd_hd44780_pcf8574

LCD library for HD44780 compatible LCDs, interfaced with pcf8574

Author Joep Suijs, Copyright © 2011..2011, all rights reserved.
Adapted-by
Compiler >=2.4g

Description

   i2c bus interface for HD44780 compatible alphanumeric LCD screens.
   Tested on the DFRobot 'i2c/twi lcd 1602 module'
   See bits on lcd_shadow for the connection from the pcf8574 to the LCD.
 --
   Directions for use of this library in application programs
   (in this sequence):
   1. Setup i2c master (include i2c_hardware or include i2c_software)



   2. Declare the following constants:
         const byte LCD_ROWS     = 2              -- 1, 2 or 4 lines
         const byte LCD_CHARS    = 16             -- 8, 16 or 20 chars per line



   3. Include this library.



   4. Call lcd_init() to initialize the lcd controller.



   Above is an example for a 2x16 LCD, connected to pin d0



   See hd_44780_common for the LCD API.


Dependencies


Summary

Global variables/contants

Procedures

Private

Functions


API details

Global variables/contants

Procedures

Private

Functions


Related samples

Here are the list of samples which use this library:

16f648a16f648a_lcd_hd44780_pcf8574.jal
16f72316f723_lcd_hd44780_pcf8574.jal
16f7316f73_lcd_hd44780_pcf8574.jal
16f87716f877_lcd_hd44780_pcf8574.jal
16f877a16f877a_lcd_hd44780_pcf8574.jal
16f8816f88_lcd_hd44780_pcf8574.jal
18f14k5018f14k50_lcd_hd44780_pcf8574.jal
18f245018f2450_lcd_hd44780_pcf8574.jal
18f252018f2520_lcd_hd44780_pcf8574.jal
18f255018f2550_lcd_hd44780_pcf8574.jal
18f262018f2620_lcd_hd44780_pcf8574.jal
18f45218f452_lcd_hd44780_pcf8574.jal
18f455018f4550_lcd_hd44780_pcf8574.jal
18f462018f4620_lcd_hd44780_pcf8574.jal
18f67j5018f67j50_lcd_hd44780_pcf8574.jal