Added I2C port expander support to HD44780
This commit is contained in:
@@ -354,8 +354,8 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
|
||||
//The LCD is attached via an I2C port expander.
|
||||
//#define LCD_I2C
|
||||
#ifdef LCD_I2C
|
||||
// Port Expander Type - PCF8574 or MCP23008
|
||||
#define LCD_I2C_TYPE PCF8574
|
||||
// Port Expander Type - 0=PCF8574 or 1=MCP23008
|
||||
#define LCD_I2C_TYPE 0
|
||||
// I2C Address of the port expander
|
||||
#define LCD_I2C_ADDRESS 0x20
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user