Enable LCD_PIN_RESET if it exists (PR#2375)

2.0.x
Scott Lahteine 10 years ago committed by Richard Wackerbarth
parent 23c8c5348f
commit a5033c3652

@ -197,6 +197,11 @@ static void lcd_implementation_init() {
digitalWrite(LCD_PIN_BL, HIGH); digitalWrite(LCD_PIN_BL, HIGH);
#endif #endif
#ifdef LCD_PIN_RESET
pinMode(LCD_PIN_RESET, OUTPUT);
digitalWrite(LCD_PIN_RESET, HIGH);
#endif
u8g.setContrast(lcd_contrast); u8g.setContrast(lcd_contrast);
// FIXME: remove this workaround // FIXME: remove this workaround
// Uncomment this if you have the first generation (V1.10) of STBs board // Uncomment this if you have the first generation (V1.10) of STBs board

Loading…
Cancel
Save