🩹 Use LCD_CONTRAST_INIT in pins files
This commit is contained in:
parent
eada17ed69
commit
7ffe4de021
@ -127,7 +127,7 @@
|
||||
|
||||
#define LCD_RESET_PIN 16
|
||||
|
||||
#define LCD_CONTRAST_DEFAULT 220
|
||||
#define LCD_CONTRAST_INIT 220
|
||||
|
||||
#define LCD_BACKLIGHT_PIN -1
|
||||
#else
|
||||
|
@ -107,7 +107,7 @@
|
||||
|
||||
#define LCD_CONTRAST_MIN 0
|
||||
#define LCD_CONTRAST_MAX 100
|
||||
#define LCD_CONTRAST_DEFAULT 30
|
||||
#define LCD_CONTRAST_INIT 30
|
||||
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
|
||||
|
||||
#if IS_NEWPANEL
|
||||
|
@ -157,7 +157,7 @@
|
||||
#define NEOPIXEL_PIN PB9
|
||||
#endif
|
||||
|
||||
#define LCD_CONTRAST_DEFAULT 255
|
||||
#define LCD_CONTRAST_INIT 255
|
||||
#else
|
||||
#define LCD_PINS_RS PC15
|
||||
#define LCD_PINS_ENABLE PB6
|
||||
|
Loading…
Reference in New Issue
Block a user