Skip to content

Commit e3701fb

Browse files
joaopedrosgsfdebrabander
authored andcommitted
Update LiquidCrystal_I2C.cpp
1 parent 627306c commit e3701fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

LiquidCrystal_I2C.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ void LiquidCrystal_I2C::backlight(void) {
192192
_backlightval=LCD_BACKLIGHT;
193193
expanderWrite(0);
194194
}
195+
bool LiquidCrystal_I2C::getBacklight() {
196+
return _backlightval == LCD_BACKLIGHT;
197+
}
198+
195199

196200
/*********** mid level commands, for sending data/cmds */
197201

0 commit comments

Comments
 (0)