Skip to content

Commit

Permalink
Update LiquidCrystal_I2C.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopedrosgs authored and fdebrabander committed Mar 9, 2017
1 parent 627306c commit e3701fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LiquidCrystal_I2C.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ void LiquidCrystal_I2C::backlight(void) {
_backlightval=LCD_BACKLIGHT;
expanderWrite(0);
}
bool LiquidCrystal_I2C::getBacklight() {
return _backlightval == LCD_BACKLIGHT;
}


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

Expand Down

0 comments on commit e3701fb

Please sign in to comment.