Search code examples
arduinoi2clcd

How do I dim the backlight on an 20x4 LCD Display with the i2c connected on an arduino uno


How to dim the backlight on an 20x4 LCD Display with the i2c connected to an Arduino uno?

I use the LiquidCrystal_I2C.h library and I can turn on and of the light with lcd.backlight(); and lcd.noBacklight();

But I don't want to turn off completely the backlight: I want to dim it.


Solution

  • Simple answer : You can't.

    Complex Answer : You can use a BJT controlled by PWM to change/adapt the brightness.