How to turn I2C RGB LCD Off?

I’m trying to figure out how to put I2C Display in sleep mode while unattended. Like in a data logger.
I tried the command lcd->noDisplay(); it turns the characters Off but the Backlight is still On. Is there a command to turn the backlight off? Tried lcd->noBackLight(void); but code would not compile.
I’m using the LiquidCrystal_I2C_Spark (1.1.0) library.
Thanks in advance.

how about lcd->noBacklight()? There is no capital L in the function name.

Just tried it an that does the trick.:+1: Thanks Are all the commands listed for that library somewhere? TIA

Usually the header file lists them all.
But for derived classes you may also need to look in the respective parent classes - which doesn’t seem to be required here.

1 Like