Hello folks, first off I would like to apologize, the saber hobby has been my entry into programming and while I have managed to get a few basic configs running, I think I may have started punching above my weight class.
I have a fresh bladeconfig from the Proffie configuration generator set up for 4 blades and a blade detect, and I’m not entirely sure what I’m missing but I also am not entirely sure what to look for.
I’m getting a Compilation error: expected ‘}’ before ‘no_blade_presets’
my blade config is
BladeConfig blades[] = {
{ 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
SubBladeWithStride(0, 15, 2, WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >()),
SubBladeWithStride(1, 15, 2, NULL),
WS281XBladePtr<144, blade3Pin, Color8::GRB, PowerPINS<bladePowerPin4, bladePowerPin5> >()
, CONFIGARRAY(presets) },
{ NO_BLADE, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
SubBladeWithStride(0, 15, 2, WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >()),
SubBladeWithStride(1, 15, 2, NULL),
WS281XBladePtr<144, blade3Pin, Color8::GRB, PowerPINS<bladePowerPin4, bladePowerPin5> >()
CONFIGARRAY(no_blade_presets), "nb_save" }
,
};
I’ve also included the full error and config file below. I’m sure this is some basic thing I just don’t understand.
bKE9bR5M.txt (2.7 KB)
BDwrong.h (38.0 KB)