Skip to content
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

Make fade-resolution choosable #110

Open
hansimglueck opened this issue Jan 7, 2023 · 5 comments
Open

Make fade-resolution choosable #110

hansimglueck opened this issue Jan 7, 2023 · 5 comments

Comments

@hansimglueck
Copy link

hansimglueck commented Jan 7, 2023

As a "follow-up" to my wish #109, I also would very much like too see the option of 10bit, 12 bit or 16bit pwm-resolution in this beautiful Library.
In this case I am using ESP to drive a meter of LED-strip. The steps of the 8bit resolution are clearly visible in dark situations...

As I understand this might be tricky to implement in a platform-independent way, but there must be a way, isnt it?

Anyway thanks for the great work!

@ghost
Copy link

ghost commented Mar 24, 2023

Seconding this, 8-bit vs 10-bit is extremely noticeable when fading leds at dimmer brightness.

@jandelgado
Copy link
Owner

@hansimglueck @rainyotter could you provide an example which I can use as the base for some research please?

@Welsyntoffie
Copy link

I am fading 30meters of white LED rope lights using standard library and see no noticeable weird effects. Fading is smooth.
I fade from 1 to 255 using Arduino Mega.

@ghost
Copy link

ghost commented Mar 26, 2023

I use a LED bulb as a 'sunrise' light, where it slowly dims up over several minutes. At 8-bit resolution, the steps are extremely noticeable at the low end. Even dimming by hand (i.e. with a potentiometer) they're noticeable. I use 10-bit now (not using this library), but even that still has some faint steps during slow fades.

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Jun 25, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2023
@jandelgado jandelgado added keep and removed Stale labels Aug 20, 2023
@jandelgado jandelgado reopened this Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants