Here’s the original blade configuration. Yeah I’m not sure which it is, I know I’ve wired my test blade correctly and I’ve checked all my wiring 4 times. The hilt pcb goes but just not the blade.
Do the “counting procedure” from the link I posted above.
Do it once without the blade to count your pixels in the pcb.
Do it a second time time with your blade to count the total.
okay so i did just count really quick. i have 30 leds in the hilt pcb and i have 112 leds for my main blade. a grand total of 142 leds, so i just have to apply that config code with the blade config and add those numbers for the leds right? i will look at the previous stuff on here and apply those as well.
okay i just tried your suggestion and code, did i type it right? This is what i used and it did what it did before. Now the hilt pcb doesnt light up at all. I have all the other functions but that now. So it is something with the config that is not communicating with the leds somehow. Here is how i have it in my config code now.
{ 0,
SubBlade(30, 141, WS281XBladePtr<142, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >()), // this is your main blade with 112 leds
SubBladeWithStride(0, 29, 2, nullptr), // this is your pcb part1 with 15 leds (1 out of every 2 starting at 0)
SubBladeWithStride(1, 29, 2, nullptr), // this is your pcb part2 with 15 leds (1 out of every 2 starting at 1)
CONFIGARRAY(presets) },
};
and const unsigned int maxLedsPerStrip = 144; (if you have less than 144, this number should still be 144).
142 is total number of leds
141 is 142-1 because the first led “address” is 0
30 is leds in pcb and first “address” of first led of main blade
0, 29, 2 : 0 is the first address, 29 is the last “address” of the pcb (30-1 because we start at zero), 2 is for “1 every 2” starting at “address” 0.
1, 29, 2 : 1 is the first “address”, 29 is the last “address” of the pcb, 2 is for “1 every 2” (but starting at “address” 1)
ohhh okay i understand it now! just updated it and still the same result unfortunately… No lights at all, no pcb and no blade. I cannot believe this, i am not sure what to do now. I checked all my pins and everything is making contact where it should. Any other possible ideas as of why? And i am not sure why the orginal code works just fine for the pcb and the blade.