I2CLCD
HD4470 LCD driver via I2C interface
|
Macros | |
#define | LCD_I2C_DEVICE 0x4E |
#define | LCD_LINES 4 |
#define | LCD_COLS 20 |
#define | LCD_LINE_MODE LCD_2LINE |
#define | LCD_LIGHT_LOW_ACTIVE 0 |
#define | LCD_LINE1 0x00 |
#define | LCD_LINE2 0x40 |
#define | LCD_LINE3 0x14 |
#define | LCD_LINE4 0x54 |
Change this settings to your configuration.
Supported LCD sizes range from 1x8 to 4x20.
4x40 is not supported.
#define LCD_COLS 20 |
Enter the number of columns of your display here
#define LCD_I2C_DEVICE 0x4E |
Change this to the address of your port expander
#define LCD_LIGHT_LOW_ACTIVE 0 |
Set to one, if low active
#define LCD_LINE1 0x00 |
This should be 0x00 on all displays
#define LCD_LINE2 0x40 |
Change this to the address for line 2 on your display
#define LCD_LINE3 0x14 |
Change this to the address for line 3 on your display
#define LCD_LINE4 0x54 |
Change this to the address for line 4 on your display
#define LCD_LINE_MODE LCD_2LINE |
Enter line mode your display here
#define LCD_LINES 4 |
Enter the number of lines of your display here