- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6
Solved Backlight Dimming not working problem #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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