I2CLCD
HD4470 LCD driver via I2C interface
|
Macros | |
#define | LCD_I2C_DEVICE 0x4E |
#define | LCD_LINES 2 |
#define | LCD_COLS 16 |
#define | LCD_LINE_MODE LCD_2LINE |
#define | LCD_LINE1 0x00 |
#define | LCD_LINE2 0x40 |
#define | LCD_LINE3 0x40 |
#define | LCD_LINE4 0x60 |
Change this settings to your configuration.
Supported LCD sizes range from 1x8 to 4x20.
4x40 is not supported.
#define LCD_COLS 16 |
Enter the number of columns of your display here
#define LCD_I2C_DEVICE 0x4E |
Change this to the address of your expander
#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 0x40 |
Change this to the address for line 3 on your display
#define LCD_LINE4 0x60 |
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 2 |
Enter the number of lines of your display here