Help with blade config

Hello all,
I am trying to build a config with 4 “blades”. The Proffie site and Fett’s site only allow for a max of 3 blades in their config generators so I have questions.

In the build:
-The main blade
-A CC
-2x separately wired SCW pxl switches for accent switches

(so technically, 4 separate pixel bades)

This is what I have so far:

BladeConfig blades[] = {
  { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
    WS281XBladePtr<1, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin4> >(),
    WS281XBladePtr<1, blade3Pin, Color8::GRB, PowerPINS<bladePowerPin5> >(),
    WS281XBladePtr<1, blade4Pin, Color8::GRB, PowerPINS<bladePowerPin6> >()
  , CONFIGARRAY(presets) },

Is this correct? The last line I had made up myself, but the Fett config generator gave me an error when inputting it.

Welcome to The Crucible,

I am not an expert, but it seems ok to me.
Maybe move the comma “,” before CONFIGARRAY, and place it right after the previous “>()”
This wouldn’t matter for compiling but it might affect the web site?

what is the error ?

“Unable to parse BladeConfig, you may have errors or missing information. This may cause complie errors if not corrected. please input the number of blades manually.”

So, to be frank, I haven’t tested this yet on an actual board. I was just trying to make sure to do it right the first time.

That didn’t change anything. Same error

Nvm. I figured it out. I didnt have the " }; " at the end…smh

I should have seen that. Banging my head on my beer can! Sorry about that.

It doesn’t have to be in a board. You can always just put the code in a basic config and check if it compiles (without uploading or even without having a board connected to your computer). If the code is “wrong” (or missing a “,” “;” “}” … Arduino will kinda “tell you” with a loooong message that a “piece” is missing. Just don’t bother trying to read past the third error message as that is usually a compound error from something missing earlier.