I’m constructing my first Proffie Saber (it was working this morning, but then I slipped and the tac-switch that served as my power button underwent one of those rapid unscheduled disassembly moments. Replacement on order.) I built a short testing blade with the off-cuts from the main blade and I have an illuminated hilt side PCB. When I enter this config array into @Fett263 's config helper, I get stuck in a loop where it tells me…
This tool can only create 3 unique CONFIGARRAYS, additional CONFIGARRAYS are listed in your BladeConfig and will need to be manually added to the config before uploading.
…which just reappears each time I click Okay.
BladeConfig blades[] = {
{ 2200, WS281XBladePtr<15, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(short_blade), "short_blade_save" },
{ 15000, WS281XBladePtr<132, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(long_blade), "long_blade_save" },
{ NO_BLADE,
WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(no_blade), "no_blade_save" },
};
My intention is that the LED’s in the hilt side PCB are only active if there is no recognised blade present and the rest of the time they are off.
What have I got wrong?