|
|
@ -151,10 +151,21 @@
|
|
|
|
#define DEFAULT_LCD_CONTRAST 17
|
|
|
|
#define DEFAULT_LCD_CONTRAST 17
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// Generic support for SSD1306 / SH1106 OLED based LCDs.
|
|
|
|
#if ENABLED(ULTI_CONTROLLER)
|
|
|
|
#if ENABLED(U8GLIB_SSD1306) || ENABLED(U8GLIB_SH1106)
|
|
|
|
#define U8GLIB_SSD1309
|
|
|
|
|
|
|
|
#define REVERSE_ENCODER_DIRECTION
|
|
|
|
|
|
|
|
#define LCD_RESET_PIN LCD_PINS_D6 // This controller need a reset pin
|
|
|
|
|
|
|
|
#define LCD_CONTRAST_MIN 0
|
|
|
|
|
|
|
|
#define LCD_CONTRAST_MAX 254
|
|
|
|
|
|
|
|
#define DEFAULT_LCD_CONTRAST 127
|
|
|
|
|
|
|
|
#define ENCODER_PULSES_PER_STEP 2
|
|
|
|
|
|
|
|
#define ENCODER_STEPS_PER_MENU_ITEM 2
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Generic support for SSD1306 / SSD1309 / SH1106 OLED based LCDs.
|
|
|
|
|
|
|
|
#if ENABLED(U8GLIB_SSD1306) || ENABLED(U8GLIB_SSD1309) || ENABLED(U8GLIB_SH1106)
|
|
|
|
#define ULTRA_LCD //general LCD support, also 16x2
|
|
|
|
#define ULTRA_LCD //general LCD support, also 16x2
|
|
|
|
#define DOGLCD // Support for I2C LCD 128x64 (Controller SSD1306 / SH1106 graphic Display Family)
|
|
|
|
#define DOGLCD // Support for I2C LCD 128x64 (Controller SSD1306 / SSD1309 / SH1106 graphic Display Family)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(PANEL_ONE) || ENABLED(U8GLIB_SH1106)
|
|
|
|
#if ENABLED(PANEL_ONE) || ENABLED(U8GLIB_SH1106)
|
|
|
@ -178,7 +189,8 @@
|
|
|
|
#if ENABLED(ULTIMAKERCONTROLLER) \
|
|
|
|
#if ENABLED(ULTIMAKERCONTROLLER) \
|
|
|
|
|| ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) \
|
|
|
|
|| ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) \
|
|
|
|
|| ENABLED(G3D_PANEL) \
|
|
|
|
|| ENABLED(G3D_PANEL) \
|
|
|
|
|| ENABLED(RIGIDBOT_PANEL)
|
|
|
|
|| ENABLED(RIGIDBOT_PANEL) \
|
|
|
|
|
|
|
|
|| ENABLED(ULTI_CONTROLLER)
|
|
|
|
#define ULTIPANEL
|
|
|
|
#define ULTIPANEL
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|