mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Added Config variables for activating I2C LCDs and setting type and address
This commit is contained in:
parent
83e33bdd26
commit
06272f463d
@ -316,9 +316,9 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
|
||||
// The RepRapDiscount Smart Controller (white PCB)
|
||||
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
|
||||
//#define REPRAP_DISCOUNT_SMART_CONTROLLER
|
||||
|
||||
// The GADGETS3D G3D LCD/SD Controller (blue PCB)
|
||||
// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
|
||||
|
||||
// The GADGETS3D G3D LCD/SD Controller (blue PCB)
|
||||
// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
|
||||
//#define G3D_PANEL
|
||||
|
||||
//automatic expansion
|
||||
@ -351,6 +351,15 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//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
|
||||
// I2C Address of the port expander
|
||||
#define LCD_I2C_ADDRESS 0x20
|
||||
#endif
|
||||
|
||||
// Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
|
||||
//#define FAST_PWM_FAN
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user