arduino-libraries / Arduino_GigaDisplay

Library for controlling the RGB on the GIGA Display Shield. It contains, also, a set of examples to use the display.
8 stars 3 forks source link

`SimpleBacklight.ino` example does not change backlight intensity #30

Open aliphys opened 3 months ago

aliphys commented 3 months ago

The SimpleBacklight.ino example does not change the intensity of the screen. Other examples in the basic folder run, suggesting that this is not a specific hardware issue. Tested on two different shields and GIGA R1 WiFi boards

aliphys commented 3 months ago

Since the LCD screen of the GIGA Display Shield is such high quality, the bleeding is very faint. This makes it seem as if the backlight intensity does not changes. Furthermore, the example increments the backlight by 1% every 100 milliseconds, which makes it difficult to see the changes with a naked eye. https://github.com/arduino-libraries/Arduino_GigaDisplay/blob/de47486471e46d0c6f9d0e5fc3395407910ad44e/examples/backlight/SimpleBacklight/SimpleBacklight.ino#L16-L20

Given that Users have also reported this issue (e.g. https://arduino.zendesk.com/agent/tickets/294569) we should modify the example so that the change in backlight is visible. This can be done by having the backlight Blink between on and off. Custom values can be left as an exercise to the User.

aliphys commented 3 months ago

Notice that in all set backlight values, the backlight visually looks very similar although the current draw is drastically different.

Backlight (%) Current (mA) Picture
0% 110mA image
50% 142mA image
100% 274mA image