Open Phaet opened 1 year ago
Now I understand that ILI9341 is just the controller chip and it depends how it is integrated on this particular LCD module. The chip has a back-light voltage pin with PWM. This pin is probably controlled by the backlight brightness command. But it depends whether this pin is connected to the LCD on the particular module or whether the backlight LEDs are simply connected to power.
My wife is complaining that the LCD display is too bright in our living room.
So I tried to find out, whether it is possible to dim the display and how.
Looking at your code, I found out that the display is an ILI9341, right?
I found this spec for it :![ILI9341 spec](https://i.imgur.com/5skBKwr.jpg)
There, on page 141 and 142, I found commands to write and read display brightness.
Therefore, for a quick attempt, I added the line
to the init function in ili9341.js.
But unfortunately this does not have any effect. Now I am rather clueless.
Is it at all possible to dim the display?
If so, I would like to write a function to either set the brightness with the RC or, alternatively, turn on full brightness when a new cover is displayed and then dim it after a few seconds.