Skip to content

Fix brightness control#83

Closed
josch0 wants to merge 1 commit intopimoroni:mainfrom
josch0:patch/brightness-ctrl
Closed

Fix brightness control#83
josch0 wants to merge 1 commit intopimoroni:mainfrom
josch0:patch/brightness-ctrl

Conversation

@josch0
Copy link
Copy Markdown

@josch0 josch0 commented May 8, 2025

The CTRL pin of the AP3031 is picky regarding the applied PWM frequency. If the frequency is too high, the dimming of the display backlight behaves strangely.

I have achieved the best results and seamless dimming between 0% and 100% with a PWM frequency of about 100Hz. Therefore, a corresponding clkdiv is set in this patch.

@josch0 josch0 closed this May 27, 2025
@josch0 josch0 deleted the patch/brightness-ctrl branch May 27, 2025 19:47
@creativeprojects
Copy link
Copy Markdown

Hey @josch0

Can I ask you why you closed this PR?
Was changing the PWM frequency causing any issue?

I'm asking because I'm building a smart alarm clock and the lowest brightness is too high at night.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants