Enable contrast via LCD_CONTRAST_INIT (#15006)
This commit is contained in:
committed by
Scott Lahteine
parent
012f577bb0
commit
e604f76703
@ -105,9 +105,7 @@
|
||||
#define BTN_ENC 5
|
||||
|
||||
// This display has adjustable contrast
|
||||
#undef HAS_LCD_CONTRAST
|
||||
#define HAS_LCD_CONTRAST 1
|
||||
#define LCD_CONTRAST_MIN 0
|
||||
#define LCD_CONTRAST_MAX 255
|
||||
#define DEFAULT_LCD_CONTRAST 255
|
||||
#define LCD_CONTRAST_INIT LCD_CONTRAST_MAX
|
||||
#endif
|
||||
|
@ -436,7 +436,7 @@
|
||||
#define DOGLCD_CS 25
|
||||
|
||||
// GLCD features
|
||||
//#define LCD_CONTRAST 190
|
||||
//#define LCD_CONTRAST_INIT 190
|
||||
// Uncomment screen orientation
|
||||
//#define LCD_SCREEN_ROT_90
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
@ -463,7 +463,7 @@
|
||||
#define DOGLCD_CS 66
|
||||
|
||||
// GLCD features
|
||||
//#define LCD_CONTRAST 190
|
||||
//#define LCD_CONTRAST_INIT 190
|
||||
// Uncomment screen orientation
|
||||
//#define LCD_SCREEN_ROT_90
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
|
@ -137,7 +137,7 @@
|
||||
#define DOGLCD_CS PB7
|
||||
#endif
|
||||
|
||||
//#define LCD_CONTRAST 190
|
||||
//#define LCD_CONTRAST_INIT 190
|
||||
//#define LCD_SCREEN_ROT_90
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
//#define LCD_SCREEN_ROT_270
|
||||
|
@ -140,7 +140,7 @@
|
||||
#define RGB_LED_B_PIN PB6
|
||||
#endif
|
||||
|
||||
//#define LCD_CONTRAST 190
|
||||
//#define LCD_CONTRAST_INIT 190
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
#define BTN_EN1 PC11
|
||||
|
Reference in New Issue
Block a user