Added I2C port expander support to HD44780
This commit is contained in:
parent
06272f463d
commit
2b567d1df5
2 changed files with 22 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue