Lukes control box leds

Thanks Matt!

You’re welcome!

Happy to help with anything I can!

I would like to clarify because you mentioned they would be in series earlier in the topic:

If you want them in series you have to remove resistor R1 and bridge the J pads,

If you want parallel what I said previously is correct.

It seems to me that you have a 115 LED long blade that you want to be in series with the 16 LED blade connector.

So you will want to use option 3 for which you need to remove resistor R1 and bridge the J pads and then you would send data to the D2 pad.

Hi Matt, do I have to include the 16 LED blade in my config as a separate blade?

Not if it’s wired in series.

Okay thats good👍

It could be SubBlade’d though, if you want them to be separate.

Sounds like in this case though it’s better to go the simple route first and get that working.

1 Like

Agreed.

Once it’s wired in series he has the flexibility to do sub blades or leave it be.

1 Like

Just an update here’s some code that works on the control box, thanks to Khal
from The Saber Armory. No sub blades required. 2 blades.

// led 1 and 2
StylePtr<Gradient<Layers<TransitionLoop<Black,TrConcat<TrDelay<3000>,RotateColorsX<Variation,Red>,TrBoing<2000,5>>>,InOutTrL<TrInstant,TrInstant,TransitionLoop<Black,TrConcat<TrDelay<3000>,RotateColorsX<Variation,Red>,TrBoing<2000,5>>>>>,Layers<TransitionLoop<RotateColorsX<Variation,Green>,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>,InOutTrL<TrInstant,TrInstant,TransitionLoop<RotateColorsX<Variation,Green>,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>>>>>()},


};
BladeConfig blades[] = {
{ 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), //Main Blade
	WS281XBladePtr<2, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin4> >(), //Switch PCB
	, CONFIGARRAY(presets) },
};
#endif