|
@@ -184,7 +184,7 @@ extern volatile uint16_t buttons; //an extended version of the last checked but
|
184
|
184
|
#elif defined(LCD_I2C_TYPE_PCA8574)
|
185
|
185
|
#include <LiquidCrystal_I2C.h>
|
186
|
186
|
#define LCD_CLASS LiquidCrystal_I2C
|
187
|
|
- LCD_CLASS lcd(LCD_I2C_ADDRESS, LCD_WIDTH, LCD_HEIGHT);
|
|
187
|
+ LCD_CLASS lcd(LCD_I2C_ADDRESS, LCD_WIDTH, LCD_HEIGHT);
|
188
|
188
|
|
189
|
189
|
#else
|
190
|
190
|
// Standard directly connected LCD implementations
|
|
@@ -294,9 +294,10 @@ static void lcd_implementation_init()
|
294
|
294
|
B00000,
|
295
|
295
|
B00000
|
296
|
296
|
}; //thanks Sonny Mounicou
|
|
297
|
+
|
297
|
298
|
#if defined(LCDI2C_TYPE_PCF8575)
|
298
|
299
|
lcd.begin(LCD_WIDTH, LCD_HEIGHT);
|
299
|
|
- #ifdef LCD_I2C_PIN_BL
|
|
300
|
+ #ifdef LCD_I2C_PIN_BL
|
300
|
301
|
lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
|
301
|
302
|
lcd.setBacklight(HIGH);
|
302
|
303
|
#endif
|