Lightning Effect affecting previous segments

I’ve been playing with a wemos d1 mini, and noticed that if I have the lightning effect on a later segment, the earlier ones blink/flicker. i.e. if segment 0 is solid red, segment 1 is white with lightning effect. Segment 0 will flicker with the lightning. If the segments are reversed, there is no flickering on the segments after the lightning segment.

If you have two segments that have overlapping pixels, you get flashing that looks a little like the lightning effect. Check that you didn’t get overlap when defining your segment bounds.

I was hoping that would be the solution, but unfortunately, no such luck. I just reset everything… added a strip from 0-20 (solid red), and a second strip from 20-299 (lightning white) I even went as far as to reset the strip again, and do 0-20 and 21-299 leaving a blank pixel in the middle… but still makes the segment 0 flicker with the “lightning” effect. (just out of curiousity… why is 0-20 “20-leds”? Shouldn’t it be 0-19?)

Are you using a capacitor? When the lightning flashes, it may be enough to cause a sudden voltage drop and dim the other pixels.

I’ve tried with… and without. and like I said… if I simply reverse the order of the segments (put solid at the end instead of the beginning) I have no problems.

What is your brightness limiter (in LED settings) set to? Since the flash in the lighting effect is bright, it might dim the other segment to compensate (that would not explain why it doesn’t happen if you reverse the segment order though).
Do you see anything unusual in the first segment with a different effect in the second (e.g. Flow?)

The limiter is set to 850ma… (default) This actually brought up an interesting idea where instead of reversing the segments… I previously didn’t reverse the length of segments… (i.e. 20 solid 280 lightning, then changed to 20 lightning and 280 solid) I tried reversing the lengths… and I’m seeing the flickering now. For the lightning effect… does this blink the entire string imperceptibly fast, then shrink to a small number of LEDs? I just assumed that only a small percentage of LEDs did the “flash”… which wouldn’t be anywhere near as power consuming as 280 leds of a solid color. Guess I should go read up on the source-code.

I think it’s random-sized chunks at random locations along the segment.

850ma is really low for 300 pixels. It is more of a safety setting when powering everything over USB. You should properly power your lights then set limiter appropriately.