Hi there, Amazing library ! I came across am interesting case that i cannot solve myself. Is there a way to get the hue or the color from a running led ? Thank you in advance! Cheerz, Guby
Activity
[-]Getting hue[/-][+]Getting hue from a running led[/+]KilianB commentedon Nov 27, 2017
Isn't the color saved in the "color array" you have specified at the beginning? The color value of the leds can be found here:
CRGB leds[NUM_LEDS];Regarding color space and the data type you can find all the information you need in this documentation: https://github.com/FastLED/FastLED/wiki/Pixel-reference.
If you need the exact values after color and temperature correction it's worth a shot to see how computeAdjustment in controler.h is used.
gubagu commentedon Nov 28, 2017
Thanks! I'll see how far i can get with this info 😃