why doesn't this work? on the same strip of leds,

why doesn’t this work?

on the same strip of leds, is it because the code is writing to the same leds. in the test code, i am writing to one section ONLY… as in, i have the BLOCKb[0] bit in the code, but not using it anywhere, and only calling the leds code at the moment.

i would have guessed that if i have 2 arrays setup, using the same leds and calling them at the same time, this may have caused issues…

FastLED.addLeds<WS2812B, DATA_PIN, BRG>(leds, NUM_LEDS);

FastLED.addLeds<WS2812B, DATA_PIN, BRG>(BLOCKb[0], 0*NUM_LEDS_IN_SEGMENT, NUM_SIDES);

easy to get past, but annoying for future thoughts.

You can’t call addLeds twice on the same pin - it won’t do anything that you’re expecting it to do, so don’t do it.

(if I had a way to have that cause an error at compile time, I would)

ahh, i read the different pin allocations, but was reading (incorrectly) through the lines, and had a few allocations to the same pin.

whilst it was lighting some leds, it wasnt trashing the code, just not working right! :: LOL ::

in fact, that little niggle of information has chosen the direction of the code going forward! thanks! :slight_smile: