Hi, I was wondering if anyone could help me , im trying to get the actual rgb value from = ColorFromPalette( LavaColors_p, colorIndex, brightness); because im going to pass it into a setPixelColor() for some animation stuff im trying to do. …
I’m new to fastled so any advice would be great… color = ColorFromPalette( LavaColors_p, colorIndex, brightness); just give me 1 printed in the console… prob not defining the proper type to return the rgb value.
–>> need rgb to pass into set pixel color
color = ColorFromPalette( LavaColors_p, colorIndex, brightness);
strip.setPixelColor(N_PIXELS_HALF-peak-1,color);
strip.setPixelColor(N_PIXELS_HALF+peak,color);