LCD backlight - full brightnes at start
This commit is contained in:
parent
cb334238cc
commit
41b78187ca
|
|
@ -974,6 +974,10 @@ void setup()
|
||||||
|
|
||||||
ultralcd_init();
|
ultralcd_init();
|
||||||
|
|
||||||
|
#if (LCD_BL_PIN != -1)
|
||||||
|
analogWrite(LCD_BL_PIN, 255); //set full brightnes
|
||||||
|
#endif //(LCD_BL_PIN != -1)
|
||||||
|
|
||||||
spi_init();
|
spi_init();
|
||||||
|
|
||||||
lcd_splash();
|
lcd_splash();
|
||||||
|
|
|
||||||
|
|
@ -99,10 +99,7 @@
|
||||||
|
|
||||||
//#define KILL_PIN 32
|
//#define KILL_PIN 32
|
||||||
|
|
||||||
|
#define LCD_BL_PIN 5 //backlight control pin
|
||||||
//#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 BEEPER 84 // Beeper on AUX-4
|
#define BEEPER 84 // Beeper on AUX-4
|
||||||
#define LCD_PINS_RS 82
|
#define LCD_PINS_RS 82
|
||||||
#define LCD_PINS_ENABLE 61 // !!! changed from 18 (EINY03)
|
#define LCD_PINS_ENABLE 61 // !!! changed from 18 (EINY03)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue