LCD backlight - full brightnes at start

This commit is contained in:
Robert Pelnar 2018-12-06 15:27:05 +01:00
parent cb334238cc
commit 41b78187ca
2 changed files with 5 additions and 4 deletions

View File

@ -974,6 +974,10 @@ void setup()
ultralcd_init();
#if (LCD_BL_PIN != -1)
analogWrite(LCD_BL_PIN, 255); //set full brightnes
#endif //(LCD_BL_PIN != -1)
spi_init();
lcd_splash();

View File

@ -99,10 +99,7 @@
//#define KILL_PIN 32
//#define LCD_PWM_PIN -1//32 // lcd backlight brightnes pwm control pin
//#define LCD_PWM_MAX 0x0f // lcd pwm maximum value (0x07=64Hz, 0x0f=32Hz, 0x1f=16Hz)
#define LCD_BL_PIN 5 //backlight control pin
#define BEEPER 84 // Beeper on AUX-4
#define LCD_PINS_RS 82
#define LCD_PINS_ENABLE 61 // !!! changed from 18 (EINY03)