Skip to content

Using the FastLED, dimply lit LEDs cause R/G/B to jump out disproportionately. After switching to NeoPixelBus, it doesn't. #748

Answered by pauldotknopf
pauldotknopf asked this question in Q&A
Discussion options

You must be logged in to vote

FYI, I found what you are doing that solves the problem:

    void SetPixelColor(uint16_t indexPixel, typename T_COLOR_FEATURE::ColorObject color)
    {
        // THIS LINE IS WHAT FIXES IT
        color = Shader.Apply(indexPixel, color);
        NeoPixelBus<T_COLOR_FEATURE, T_METHOD>::SetPixelColor(indexPixel, color);
    }

More specifically, NeoGammaEquationMethod is what fixes it.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Makuna
Comment options

Answer selected by pauldotknopf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants