I2CLCD
HD4470 LCD driver via I2C interface
|
Macros | |
#define | LCD_D4_PIN 4 |
#define | LCD_D5_PIN 5 |
#define | LCD_D6_PIN 6 |
#define | LCD_D7_PIN 7 |
#define | LCD_RS_PIN 0 |
#define | LCD_RW_PIN 1 |
#define | LCD_E_PIN 2 |
#define | LCD_LIGHT_PIN 3 |
This pin assignment shows how the display is connected to the PCF8574. Set the definition to match your hardware setup. Any assignment is possible, but avoid mapping of two signal to one pin!
#define LCD_D4_PIN 4 |
LCD-Pin D4 is connected to P4 on the PCF8574
#define LCD_D5_PIN 5 |
LCD-Pin D5 is connected to P5 on the PCF8574
#define LCD_D6_PIN 6 |
LCD-Pin D6 is connected to P6 on the PCF8574
#define LCD_D7_PIN 7 |
LCD-Pin D7 is connected to P7 on the PCF8574
#define LCD_E_PIN 2 |
LCD-Pin E is connected to P2 on the PCF8574
#define LCD_LIGHT_PIN 3 |
LCD backlight is connected to P3 on the PCF8574
#define LCD_RS_PIN 0 |
LCD-Pin RS is connected to P0 on the PCF8574
#define LCD_RW_PIN 1 |
LCD-Pin RW is connected to P1 on the PCF8574