Issue with sub blades

Hello saber friends. I just completed a build and I am having a small amount of trouble. I say it’s an issue with sub blades, but I don’t know for sure that’s the case. What I have is a series of 3 leds which go to a Shtok v4, which is wired in series as well. So there are a total of 4 sub blades with a total of 19 pixels, and then the main blade. Everything works fine (the 3 leds, blade, pcb while on) except for the Shtok off effects. They are wonky. The colors seem to bleed into the neighboring pixels and it’s just not doing what it’s supposed to. I thought maybe I did a sloppy job wiring the pcb and it was a data line problem, so I replaced it. Same thing. I tried both pcbs on different boards. Same thing. I tried removing the sub blades from the config, except for the pcb, and it worked as it should. Add one or more sub blades, it goes wonky.

What am I doing wrong? I’m running OS 7.14 and have used both a v2 and a v3 board.

Here is the config I am working with:

To the shtok LEDs look fine when on? Or is the same bleeding thing going on there?
I don’t see anything obviously wrong with the config.
Maybe post a video to show what the problem actually looks like?

While on the Shtok is fine. Even while off, if I change the style to a solid color that doesn’t do anything, you wouldn’t be able to tell there was a problem. I will work on a video in a bit to show what it’s doing.

So can you change the shtok to a non-solid color when on?

Ok, here is a demo of what’s happening. And to answer your question, yes, I can change the color while on. It’s at the end of the video. What you are seeing are both the pcbs each displaying the same thing, except he one on the right doesn’t have the 3 pixels in the string like the other, so that’s why the first 3 pixels are different. Then in the other video is what it looks like if I remove the sub blades and what I would expect to see.

I also used a different style than I posted earlier. I noticed a small problem with that one, that is not caused by this current issue, so I chose a different style to show that it’s not because of that. Here is the style I used.

And the three pixels that are before this one?
Do they look correct?

Yes. I gave each a unique style to test, and they each did what they were supposed to.

Is it possible that the CC led is RGBA?

What version of the arduino-proffieboard plugin do you have?

I am currently using 3.6. I have been attempting to upgrade to 4.6 all evening, but I believe my anti virus software doesn’t like a few files and I am unable. However, I was able to install 4.5 with the experimental plugin. Uploaded. Same thing.

It was a pain, but I finally managed to get 4.6 installed. Tested with 4.6 and the problem still occurs.

So I tried your config on my test setup.
It only has 10 LEDs, so I can’t see everything, but at first I thought LED #3 looked weird, but when I replaced the style for it with just StylePtr<Rainbow>() it seems to work fine, so maybe this is a style issue rather than a subblade issue?

Maybe try something super simple like StyleNormalPtr<WHITE, WHITE, 20000, 800>() when you turn that on, it would enable one LED at a time, very slowly (20 seconds) which I think should give us an idea of what is going on. (If you post a a clip of what that looks like.)

Here is what that style looks like. Everything looks good, right? But then look at the next style. The pixels after the first 3 should be alternating red and white 10 second pulses. As you can see most stay lit and never go dark, while a couple do something different.

But… take away the sub blades and

Pulse style:
StylePtr<Gradient<Pulsing<Black,Red,10000>,Pulsing<White,Black,10000>,Pulsing<Black,Red,10000>,Pulsing<White,Black,10000>,Pulsing<Black,Red,10000>,Pulsing<White,Black,10000>,Pulsing<Black,Red,10000>,Pulsing<White,Black,10000>,Pulsing<Black,Red,10000>,Pulsing<White,Black,10000>,Pulsing<Black,Red,10000>,Pulsing<White,Black,10000>,Pulsing<Black,Red,10000>,Pulsing<White,Black,10000>,Pulsing<Black,Red,10000>,Pulsing<White,Black,10000>>>()

Seems like the problem is that your subblade has 17 LEDs, but it should have 16.
The gradient gets all muddled up and doesn’t look like expected.
Your styles would be much easier if you had one blade for the inner ring and another for the outer ring using SubBladeWithStride.

One freaking digit. All this trouble over one freaking digit. Problem solved. I’m upset with myself, but very happy. Thank you very much.

I have used the SBWStride before, but I am a big fan of the gradients, when they work. I just like the control over the individual pixels.