|
|
@ -128,7 +128,7 @@ extern volatile uint8_t buttons; //an extended version of the last checked butt
|
|
|
|
////////////////////////////////////
|
|
|
|
////////////////////////////////////
|
|
|
|
// Create LCD class instance and chipset-specific information
|
|
|
|
// Create LCD class instance and chipset-specific information
|
|
|
|
#if ENABLED(LCD_I2C_TYPE_PCF8575)
|
|
|
|
#if ENABLED(LCD_I2C_TYPE_PCF8575)
|
|
|
|
// note: these are register mapped pins on the PCF8575 controller not Arduino pins
|
|
|
|
// NOTE: These are register-mapped pins on the PCF8575 controller, not Arduino pins.
|
|
|
|
#define LCD_I2C_PIN_BL 3
|
|
|
|
#define LCD_I2C_PIN_BL 3
|
|
|
|
#define LCD_I2C_PIN_EN 2
|
|
|
|
#define LCD_I2C_PIN_EN 2
|
|
|
|
#define LCD_I2C_PIN_RW 1
|
|
|
|
#define LCD_I2C_PIN_RW 1
|
|
|
@ -144,7 +144,7 @@ extern volatile uint8_t buttons; //an extended version of the last checked butt
|
|
|
|
#define LCD_CLASS LiquidCrystal_I2C
|
|
|
|
#define LCD_CLASS LiquidCrystal_I2C
|
|
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(LCD_I2C_TYPE_MCP23017)
|
|
|
|
#elif ENABLED(LCD_I2C_TYPE_MCP23017)
|
|
|
|
//for the LED indicators (which maybe mapped to different things in lcd_implementation_update_indicators())
|
|
|
|
// For the LED indicators (which may be mapped to different events in lcd_implementation_update_indicators())
|
|
|
|
#define LED_A 0x04 //100
|
|
|
|
#define LED_A 0x04 //100
|
|
|
|
#define LED_B 0x02 //010
|
|
|
|
#define LED_B 0x02 //010
|
|
|
|
#define LED_C 0x01 //001
|
|
|
|
#define LED_C 0x01 //001
|
|
|
|