Not quite.
You’d add defines to your CONFIG_TOP section
#define BLADE_ID_CLASS SnapshotBladeID<bladeIdentifyPin>
and
#define ENABLE_POWER_FOR_ID PowerPINS<bladePowerPin2, bladePowerPin3>
for whichever LED pads power your blade.
You can (but do not NEED to) have multiple presets sections, one for each blade, something like
Preset 32blade[] = {
....presets go here....
};
Preset 36blade[] = {
...presets go here....
};
Preset noblade[] = {
...presets go here....
};
However many you choose, you can assign any one to a blade by changing the name in the CONFIGARRAY() in the BladeConfig as shown below.
Then in your BladeConfig, you’d have corresponding arrays for those 2 sections, with the resistance values and pixel counts for each.
BladeConfig blades[] = {
{ 20000, // whatever your 32 inch blade resistance value goes here
WS281XBladePtr<128, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(32blade),
"32blade_save"},
{ 33000, // whatever your 36 inch blade resistance value goes here
WS281XBladePtr<132, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(36blade),
"36blade_save"},
{ 200000, // No blade
WS281XBladePtr<132, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
CONFIGARRAY(noblade),
"noblade_save"},
};
You still need a blade definition for the noblade array, but it doesn’t matter what it says really. I just copied the previous one, that’s fine.