🩹 Use LCD_CONTRAST_INIT in pins files

This commit is contained in:
Scott Lahteine 2022-04-10 07:39:50 -05:00 committed by Scott Lahteine
parent eada17ed69
commit 7ffe4de021
3 changed files with 3 additions and 3 deletions

View File

@ -127,7 +127,7 @@
#define LCD_RESET_PIN 16 #define LCD_RESET_PIN 16
#define LCD_CONTRAST_DEFAULT 220 #define LCD_CONTRAST_INIT 220
#define LCD_BACKLIGHT_PIN -1 #define LCD_BACKLIGHT_PIN -1
#else #else

View File

@ -107,7 +107,7 @@
#define LCD_CONTRAST_MIN 0 #define LCD_CONTRAST_MIN 0
#define LCD_CONTRAST_MAX 100 #define LCD_CONTRAST_MAX 100
#define LCD_CONTRAST_DEFAULT 30 #define LCD_CONTRAST_INIT 30
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270 //#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
#if IS_NEWPANEL #if IS_NEWPANEL

View File

@ -157,7 +157,7 @@
#define NEOPIXEL_PIN PB9 #define NEOPIXEL_PIN PB9
#endif #endif
#define LCD_CONTRAST_DEFAULT 255 #define LCD_CONTRAST_INIT 255
#else #else
#define LCD_PINS_RS PC15 #define LCD_PINS_RS PC15
#define LCD_PINS_ENABLE PB6 #define LCD_PINS_ENABLE PB6