Skip to content

Getting hue from a running led #527

Closed

Description

@gubagu

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

  1. changed the title [-]Getting hue[/-] [+]Getting hue from a running led[/+] on Nov 21, 2017
  2. KilianB commented on Nov 27, 2017

    @KilianB

    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.

  3. gubagu commented on Nov 28, 2017

    @gubagu
    Author

    Thanks! I'll see how far i can get with this info 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions