Hello all, I was wondering if I could get a couple tips. Is it Possible to have part of a LED strip with different brightness settings and different programming than the rest of the strip?
I’m trying to program an audio reactive circuit where the first section of pixels needs to be at max brightness (8 LED’s), and the following pixels (19 LED’s) need to be significantly dimmer as to not overpower the first section.
Or should I just separate them and have them running from a different data pin?
I’d like them to behave similarly but not be a continuation of each other. Programming wise, I’m having a hard time doing as if they are in a line .
As for running different programs, just make sure you update all your pixels for each section and then call FastLED.show() once after all the updates. (In other words, don’t call it after each individual routine’s updates, otherwise you would see the updates for one, then the other, back and forth.)
@tarochan3 Do the fading of pixels in the main loop. Anytime you update those pixels that need to be dimmer, then follow that update with dimming them all back down.
Not only can you run the functions independently and then show the LED’s, but you can also BLEND them and have them overlap if you want. There’s so much we can do with this awesome library.
@Andrew_Tuline That’s great to know they can do it, I think the trickier part is knowing how to make them do those amazing things, which I’m very amateur at. I know what i want them to do but the coding language is something else. I think it’s going to take me much more time than I anticipated to figured to write these commands.
@Andrew_Tuline I have modified others before, but of course, I have much to learn. I only know some basics, and thought I could more easily mix codes. @Leon_Yuhanov has kindly supplied me with a skeleton code to modify as well, I just don’t want to constantly harass him for all the ins and outs. I’ll get there. I was pretty sure it’s all possible, it’s just the organization in the coding that I need to be more logical about (And knowing how I’m violating the rules of the Processor logic)…
Here it is what I’m working on just to show some idea of why I need the first 8 brighter. It’s running the demo reel for FastLED currently. missing/deleted image from Google+