I'm trying to power a APA102c set of lights with ESP8266 and was curious

I’m trying to power a APA102c set of lights with ESP8266 and was curious about a scenario. If I had say 20 lights, and I wanted to do say 10 or so middle lights a certain color, then the 5 on each side to fade from that color. Is that something I’d have to code manually?

Yes you would have to code it manually. It’s a reasonable endeavor for a beginner.

Welcome! Yeah, other than the examples and code that others have shared, there aren’t a lot of patterns/effects built in to the FastLED library. There’s fill_solid, fill_rainbow, etc. Not sure what you’ve tried, but I’d recommend going through the examples and wiki: https://github.com/FastLED/FastLED/wiki/Controlling-leds

If/when you have questions, let us know.

Thanks! So, I was taking a look at the fastled fire example(discussion) and noticed it had Chipset and LED_PIN defined, I’m using APA102c and ESP8266. So I assume I use void setup() {
FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN, RGB, DATA_RATE_MHZ(12)>(leds, NUM_LEDS);
}. and set the Chipset to APA102? Should that sort of work itself out for the whole example to work?(Since the object is FastLED) Also for the ESP pins I’m a bit confused) I have the NodeMCU ESP8266 and in adafruit I use GPIO pins 13 and 14.(Labeled D5 and D7 I think on the board) Can I just use 13/14?

Okay yeah after some tinkering figured it out: FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN, BGR>(leds, NUM_LEDS) used the color calibration to sort.

Also can’t seem to get the fire one to run, get an error multiple occurrences?

Post a copy of the compiler and error output on https://gist.github.com or https://pastebin.com and I can take a look. If you’ve made any changes to the code, post it as well, and then post links here. Code and error messages posted in the comments here are very hard to read. :slight_smile:

https://pastebin.com/Ksw4cfQb

Is that all of the code?

The rest wasn’t changed

The Fire2012 sketch works fine here with your changes. Post all your code.

https://pastebin.com/jTaXVu6Y

Looks like you’re using an older version of the Fire2012 example, try the latest: https://github.com/FastLED/FastLED/blob/master/examples/Fire2012/Fire2012.ino

Okay, thought it had to be something like that. I’ll try that. I’m thinking with some modification I could use this as a basis for my led, if I can get it to be bidirectional it’ll be a great starting point.(start a specific led and go 2 ways)
Thanks!