Hi Every one, would some be kind enough to tell me how to.  1)

Hi Every one,
would some be kind enough to tell me how to.

  1. fade in to a different color (other than fadeToBlack) say from red to Blue, or any other color , not switching colors though .

  2. start a color, from black in steps (from dim to set brightness)
    i’m working on pattern for some Christmas lighting.

tried to find some examples, had no joy.

thank you so much.

I would define a palette and cycle through that.

What code do you already have written, perhaps we can help improve what you already have?

Hi Andrew, Jon
thanks for the reply, I’m modifying Marks time code. which I have managed to have few more patterns into it, as long as I can define the pattern in the time code it would be fine. sorry I don’t know how I could define my own custom pattern.
that is what I need the help with,
I’m running few strips with multiple patterns at the same time. by defining each strip separately. please see the code. I like the idea of a custom palette and calling it as I need it in the time code(such as cylon, juggle,ect…)
please check the code.

thanks for any help.

Not sure what you mean by “I don’t know how I could define my own custom pattern”.

If you mean by palette, then Mark’s ColorPalette.ino example should do the trick.

If you don’t know how to program your own sequences, then you should really get back to basics and play with Mark’s demos or even mine at:

If you don’t have a reasonable understanding of the code, you could easily get yourself lost in spaghetti.

I had a look at the ColorPalete, and though of modifying that to the way I need , but the problem is how to implement it in to the time code. that is why I thought there must be a better way of simply blend the colors in.
thanks

Then I recommend that you leave the Timecode alone and just learn/modify/write individual sequences for now.

thanks Andrew I will work on this, do you know any other examples for me to look in to for blending colors, in short few difearant ways of blending colors. if so that would give me few ideas to start with. thanks again

Some of my demos have some blending. In addition, see the fill_gradient section in my notes at https://github.com/atuline/FastLED-Demos/blob/master/fastled_tips_snippets.ino

Also see, the links at the beginning of that file.

You might also want to look at easing & lerping. See colorutils.h for a lot of documentation.

Remember, if you’re in over your head, then step back and work on something that you CAN accomplish and work from there.

thanks Andrew I will go through some f the examples and see if I could use them in the time code.