I made a few programs in with the neopixel library.

I made a few programs in with the neopixel library. I want to switch them over to the fastLED library. Whats an easy way to convert RGB values to CHSV values?

also has anyone noticed that colorfades are jumpy when brightness has dropped? any solutions for this?

  1. rgb2hsv: https://plus.google.com/112916219338292742137/posts/Rxx6RpgpSr2
  2. Use temporal dithering if your fps allow it. https://github.com/FastLED/FastLED/wiki/FastLED-Temporal-Dithering

Thank you for those links Stefan. Andreas, what do you mean I dont have to if porting is my first challenge?

"Not all RGB colors have HSV equivalents! " Does this mean that HSV does not have a full range of color?

I dont think this function is what Im looking for. I will search for an equivalent color in CHSV by trial and error.

I guess your right. I dont really need to switch it over to HSV. At least I have not found a reason to need it all in HSV yet. I just wanted it to be uniformly HSV. All of the new programs I have been writing use it.

The dithering looks better than not using it. But they both flicker. I guess I will just have to live with the flicker.

I have transferred over the old programs to the the new inclusive program mixing RGB and CSV. Thanks for helping me see its not a big deal to mix it up.