♻️ Adjust LCD init, contrast default, settings load
This commit is contained in:
@ -127,7 +127,7 @@
|
||||
|
||||
#define LCD_RESET_PIN 16
|
||||
|
||||
#define DEFAULT_LCD_CONTRAST 220
|
||||
#define LCD_CONTRAST_DEFAULT 220
|
||||
|
||||
#define LCD_BACKLIGHT_PIN -1
|
||||
#else
|
||||
|
@ -134,7 +134,7 @@
|
||||
#if ENABLED(HJC_LCD_SMART_CONTROLLER)
|
||||
#define LCD_BACKLIGHT_PIN 5 // LCD_Backlight
|
||||
//#ifndef LCD_CONTRAST_PIN
|
||||
// #define LCD_CONTRAST_PIN 5 // LCD_Contrast
|
||||
// #define LCD_CONTRAST_PIN 5 // LCD_Contrast
|
||||
//#endif
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 24 // Filament runout
|
||||
|
@ -107,7 +107,7 @@
|
||||
|
||||
#define LCD_CONTRAST_MIN 0
|
||||
#define LCD_CONTRAST_MAX 100
|
||||
#define DEFAULT_LCD_CONTRAST 30
|
||||
#define LCD_CONTRAST_DEFAULT 30
|
||||
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
|
||||
|
||||
#if IS_NEWPANEL
|
||||
|
@ -157,7 +157,7 @@
|
||||
#define NEOPIXEL_PIN PB9
|
||||
#endif
|
||||
|
||||
#define DEFAULT_LCD_CONTRAST 255
|
||||
#define LCD_CONTRAST_DEFAULT 255
|
||||
#else
|
||||
#define LCD_PINS_RS PC15
|
||||
#define LCD_PINS_ENABLE PB6
|
||||
|
Reference in New Issue
Block a user