Ok realised I was doing bits in the wrong place.
Do I need to change NUM_BLADES from 1 to 2?
I then have added:
#ifdef CONFIG_PRESETS
Preset presets[] = {
{ "SmthGrey", "tracks/press.wav",
StyleFirePtr<RED, YELLOW>(),
StylePtr<InOutHelper<White, 1,1>>(), "fire"},
And then:
BladeConfig blades[] = {
{ 0, WS281XBladePtr<16, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
SimpleBladePtr<>()
, CONFIGARRAY(presets) },
};
#endif
But I’m getting:
In file included from C:\Users\steve\Engage\Inferno\Proffie V7.14 - Jetpack\ProffieOS\ProffieOS.ino:698:
C:\Users\steve\Engage\Inferno\Proffie V7.14 - Jetpack\ProffieOS\config\jetpack_test.h:24:22: error: no matching function for call to 'SimpleBladePtr()'
24 | SimpleBladePtr<>()
| ^
In file included from C:\Users\steve\Engage\Inferno\Proffie V7.14 - Jetpack\ProffieOS\ProffieOS.ino:630:
C:\Users\steve\Engage\Inferno\Proffie V7.14 - Jetpack\ProffieOS\blades\simple_blade.h:287:18: note: candidate: 'template<class LED1, class LED2, class LED3, class LED4, int pin1, int pin2, int pin3, int pin4> BladeBase* SimpleBladePtr()'
287 | class BladeBase *SimpleBladePtr() {
| ^~~~~~~~~~~~~~
C:\Users\steve\Engage\Inferno\Proffie V7.14 - Jetpack\ProffieOS\blades\simple_blade.h:287:18: note: template argument deduction/substitution failed:
In file included from C:\Users\steve\Engage\Inferno\Proffie V7.14 - Jetpack\ProffieOS\ProffieOS.ino:698:
C:\Users\steve\Engage\Inferno\Proffie V7.14 - Jetpack\ProffieOS\config\jetpack_test.h:24:22: note: couldn't deduce template parameter 'LED1'
24 | SimpleBladePtr<>()
| ^
exit status 1
Compilation error: no matching function for call to 'SimpleBladePtr()'