Trying to fix weird diff on ultralcd_implementation_hitachi_HD44780.h
This commit is contained in:
parent
5c70c785f5
commit
f295712008
|
@ -184,7 +184,7 @@ extern volatile uint16_t buttons; //an extended version of the last checked but
|
||||||
#elif defined(LCD_I2C_TYPE_PCA8574)
|
#elif defined(LCD_I2C_TYPE_PCA8574)
|
||||||
#include <LiquidCrystal_I2C.h>
|
#include <LiquidCrystal_I2C.h>
|
||||||
#define LCD_CLASS LiquidCrystal_I2C
|
#define LCD_CLASS LiquidCrystal_I2C
|
||||||
LCD_CLASS lcd(LCD_I2C_ADDRESS, LCD_WIDTH, LCD_HEIGHT);
|
LCD_CLASS lcd(LCD_I2C_ADDRESS, LCD_WIDTH, LCD_HEIGHT);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// Standard directly connected LCD implementations
|
// Standard directly connected LCD implementations
|
||||||
|
@ -294,9 +294,10 @@ static void lcd_implementation_init()
|
||||||
B00000,
|
B00000,
|
||||||
B00000
|
B00000
|
||||||
}; //thanks Sonny Mounicou
|
}; //thanks Sonny Mounicou
|
||||||
|
|
||||||
#if defined(LCDI2C_TYPE_PCF8575)
|
#if defined(LCDI2C_TYPE_PCF8575)
|
||||||
lcd.begin(LCD_WIDTH, LCD_HEIGHT);
|
lcd.begin(LCD_WIDTH, LCD_HEIGHT);
|
||||||
#ifdef LCD_I2C_PIN_BL
|
#ifdef LCD_I2C_PIN_BL
|
||||||
lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
|
lcd.setBacklightPin(LCD_I2C_PIN_BL,POSITIVE);
|
||||||
lcd.setBacklight(HIGH);
|
lcd.setBacklight(HIGH);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue