Hey guys! I'm struggling making my LED strip do what I would like it

Hey guys!
I’m struggling making my LED strip do what I would like it to do. I downloaded the FastLED library into my arduino software. But I am trying to make the first 5 LED lights of the strip be on all the time. The other LED’s after this should run a ligth like the “first light program”. I am only able to make one or the other work, but i would like them to work simultaneously. … Anyone have any suggestions? Preferably making it work without a breadboard…

Hi.
By “first light program” are you saying you want your program to run as if its first light is light number 6?..

I see firstlight is an example program.

Are you wanting a solution for the specific “first light” program, or are you wanting a general solution to run other examples or programs but keeping your first 5 lights solid.

@Liza_Willemsen - You need to post your sketch on GitHub and place a link to it, here. I am assuming that you are using first light sketch as is with some slight modification. If so then, you need to change the following line ( line 65 in the first light example sketch):

for(int whiteLed = 0; whiteLed < NUM_LEDS; whiteLed = whiteLed + 1) {

to

for(int whiteLed = 5; whiteLed < NUM_LEDS; whiteLed = whiteLed + 1) {

in order to get the effect you want.

@Gibbedy_G @Ken_White I am using the first light program as my base, and have no trouble starting the first light effect after LED 5. but struggle to have the first 5 being lit constantly in combination with this…

Hello @Liza_Willemsen ​ Please post your code on http://gist.github.com and share a link to it here.

Idea: first execute your “firstlight” function without fasteld->show(). then turn on the 5 first led of your strips.
for(int i=0;i<4;i++)
{
leds[i]=CRGB::White;
}

finally fastled->show().