Skip to content

I cannot get HSV to work in latest version of FastLED-master #31

Closed

Description

@hib-1

I am using the same syntax as I used in RC5. Using that older version allowed HSV to work.

Activity

  1. focalintent commented on Feb 21, 2014

    @focalintent
    Contributor

    I need a bit more info - how is it not working, is your code not compiling? Is it doing nothing? Are the colors coming out wrong? Are your LEDs singing instead of lighting up?

  2. hib-1 commented on Feb 22, 2014

    @hib-1
    Author

    The code compiles and LEDs light but the wrong colors display when I use the HSV format that you used in the previous SPI release candidate two.
    The same HSV notation work properly in release candidate 2

  3. kriegsman commented on Feb 22, 2014

    @kriegsman
    Member

    Ok! Could you post your sample code that is not working correctly over on the community support board at http://fastled.io/+ (it is a google plus community where we help people with coding issues like this).

    If you can post a code snippet over there, we can probably help you quickly.

    I'm leaving this ticket open until we can help you with your code over on the community support board. http://fastled.io/+. Looking forward to helping you get up and running again.

  4. hib-1 commented on Feb 23, 2014

    @hib-1
    Author

    I revised the code according to several examples in the extended documentation, and it works!

    #include "FastLED.h"
    #define NUM_LEDS 6
    CRGB leds[NUM_LEDS];
    byte h1 = 90;
    byte n = 0;
    void setup()
    {
    FastLED.addLeds<NEOPIXEL, DATA_PIN, RGB>(leds, NUM_LEDS);
    }
    void loop()
    {
    leds[n] = CHSV( h1, 187, 255);
    FastLED.show();
    delay(500);
    leds[n] = CHSV( 24, 187, 0);
    FastLED.show();
    delay(500);
    }

  5. kriegsman commented on Feb 23, 2014

    @kriegsman
    Member

    Great! Glad to hear it!

  6. hib-1 commented on Feb 23, 2014

    @hib-1
    Author

    thank you for continuing to develop code.

    On Saturday, February 22, 2014 10:14 PM, kriegsman [email protected] wrote:

    Great! Glad to hear it!
    —
    Reply to this email directly or view it on GitHub.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions