HI, i just found this community.

HI, i just found this community. Just what ive been looking for.
I need some help getting started programming the ws2812 Led strips. I’m making a Caillou acrylic panel/night light for my nephew.(hes 2). It uses only 10 leds and it is lit from the bottom and illuminates the image I sandblasted onto the acrylic.

All I want it to do is slowly blend from one color to the next. Pausing on each color for about 30 seconds. I want the brightness to stay the same-so it only fades in and out in color.

I realize this sounds simple but Ive been struggling with this for awhile now. I do just a little programming. But I can follow simple programs.

Help me get a first taste of successfully programming these awesome Leds. (…and get this Caillou project done! lol)

FastLED 3.03
arduino software 1.06
arduino uno r3
windows 7
onto an attiny85
5v dc 2A

Hi, What have you been able to do so far ?

Did you at least run a simple sketch ?

I’m not traditionally a fan of doing all the work for someone but I will be more than happy to point you in the right direction to get you on your away…

The FastLED function you are looking for is fill_solid( struct CHSV* targetArray, int numToFill, const struct CHSV& hsvColor).

(I don’t know if this one is shown without delving into the more complex bits of code in the examples but it is outlines on the GitHub repository)

The effect you are looking for is going to be along the lines of fill_solid(leds, NUM_LEDS, CHSV(i,255,255)) where ‘leds’ is your CRGB array defined for storing colors and NUM_LEDS is… well… obvious.

By running ^^ through a for() loop you will effectively run through the entire range of hues available to you (0-255).

To decide whether you are using the standard delay between hues (not whatever color you want to show for 30 seconds) you can implement an if() else() structure.

The standard numeric values of colors are listed here https://github.com/FastLED/FastLED/wiki/FastLED-HSV-Colors
as well as solutions to a few other solutions to using FastLED.

Hopefully this helps and feel free to break stuff in the examples of FastLED, that’s usually one of the quickest ways to learn what does what.

Welcome to the community and good luck with your project!