Solved Backlight Dimming not working problem#37
Solved Backlight Dimming not working problem#37alblib wants to merge 1 commit intoarduino-libraries:mainfrom
Conversation
…to make the backlight dimming working
|
|
|
tick has to be under 50us and use pdm so led driver dont go into digital mode. I worry this can make too much load on the chip. I think this is design flaw of the giga display shield. They should use dedicated pwm pin to control the backlight. |
|
Also, I implemented lightness (human perception) percentage to the set function no the pwm duty cycle for convenience. Also, we have to make sure duty percentage goes not too low, otherwise the off time becomes too long so the led driver goes into shutdown mode. Thus, this implementation is just appropriate, considering every specification we have to satisfy. |
|
Memory usage change @ 0ee8484
Click for full report table
Click for full report CSV |
Original implementation did not work because