Frank

Results 197 comments of Frank

Hi @mcer12 ok, this was also what I had in mind. Thanks for explaining. Personally, I find it not very helpful to get slammed as "off-topic", and then see that...

Yes I can see your problem that you are facing. Just to clarify what's needed: is the question a) how to get from "WLED brightness" (8 bit) to "PWM" brightness...

@mcer12 just looked at the WLED code below. (But not 100% sure that's the gamma function you refer to). https://github.com/Aircoookie/WLED/blob/5f4199183c3782b43aca43743c083c3af26cd4ed/wled00/colors.cpp#L323-L357 I think you can't use that. The reason is simple...

> Maybe we should swap the current gamma table for the CIE table entirely, though I'm not sure if that would improve or worsen low brightness hue accuracy. @Aircoookie maybe...

Agreed, especially as integer divide by 16 is fast because the compiler can simply do a right-shift by 4 bits (make sure to use unsigned, because right-shift on signed is...

@mcer12 yes that looks promising. Even the the 8bit version seems to preserve more details in the lowest brightness values, compared to gamma. 👍

Closing, as not enough information available to reproduce the problem. Additionally, no activity for long time, so it seems the original problem author lost interest.

similar to issue 3133 and 2747 * #3133 * #2747 * #1001

> wled community could figure out a fix for that memory leak problem? > > if i could assist in any way pls dont hesitate to let me know. Greetings...