Alright, setting the blade number to 2 did solve the compilation problems. Now I can’t seem to figure out how to incorporate ByteOrder into the config. I’m going to post one of the blade profiles and how I tried to implement it, and I’d appreciate it if someone would correct where I messed up.
{ "Bank33;common", "tracks/mars.wav",
StylePtr<Layers<StyleFire<Strobe<RotateColorsX<Variation,Rgb<95,0,210>>,Strobe<Rgb<100,100,150>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<95,0,210>>,Black>,50,1>,100,1>,RotateColorsX<Variation,Rgb<23,0,65>>,0,5,FireConfig<2,1000,5>,FireConfig<2,1000,5>,FireConfig<2,1000,5>,FireConfig<2,1000,5>>,
TransitionEffectL<TrConcat<TrFade<400>,AudioFlickerL<RotateColorsX<Variation,Rgb<160,60,255>>>,TrDelay<1000>,AudioFlickerL<RotateColorsX<Variation,Yellow>>,TrFade<800>>,EFFECT_FORCE>,
AlphaL<Stripes<1000,-2000,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<95,0,210>>,Black>,White,RotateColorsX<Variation,Rgb<95,0,210>>,White>,SwingSpeed<600>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<HotPink>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,
AlphaL<DeepPink,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveLightningBlockL<Strobe<Blue,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,
AlphaL<Black,SmoothStep<Scale<SlowNoise<Int<1600>>,Int<1000>,Int<4000>>,Int<-4000>>>,
ResponsiveStabL<Red>,
ResponsiveBlastL<Yellow,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
ResponsiveBlastWaveL<Yellow,Int<300>,Int<100>,Int<300>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,EFFECT_CLASH>,
AlphaL<Black,SmoothStep<Scale<SlowNoise<Int<2400>>,Int<22000>,Int<40000>>,Int<22000>>>,
LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
InOutTrL<TrWipeSparkTip<White,300>,TrWipeInSparkTip<White,800>>,
TransitionEffectL<TrConcat<TrFade<100>,AlphaL<HumpFlickerL<Magenta,10>,Bump<Int<0>,Int<4000>>>,TrFade<100>,AlphaL<HumpFlickerL<Magenta,15>,Bump<Int<0>,Int<5000>>>,TrFade<100>,AlphaL<HumpFlickerL<Magenta,20>,Bump<Int<0>,Int<6000>>>,TrBoing<1000,0>>,EFFECT_PREON>>>(),
StylePtr<ByteOrder<Color8::RGB, main blade>>()},
I’m getting these errors:
Arduino: 1.8.13 (Windows 10), Board: "Proffieboard V2, Serial, SDCARD (SPI), 80 MHz, Smallest Code"
In file included from C:\Users\o\OneDrive\Documents\ProffieOS-v6.7\ProffieOS\ProffieOS.ino:563:
sketch\config/StarkillerTXQ.h:185:10: error: 'ByteOrder' was not declared in this scope; did you mean 'BitOrder'?
185 | StylePtr<ByteOrder<Color8::RGB, main blade>>(),
| ^~~~~~~~~
| BitOrder
sketch\config/StarkillerTXQ.h:185:33: error: 'main' was not declared in this scope; did you mean 'min'?
185 | StylePtr<ByteOrder<Color8::RGB, main blade>>(),
| ^~~~
| min
sketch\config/StarkillerTXQ.h:185:1: error: parse error in template argument list
185 | StylePtr<ByteOrder<Color8::RGB, main blade>>(),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sketch\config/StarkillerTXQ.h:185:46: error: no matching function for call to 'StylePtr<<expression error>, <expression error> >()'
185 | StylePtr<ByteOrder<Color8::RGB, main blade>>(),
| ^
In file included from sketch\styles/fire.h:4,
from C:\Users\o\OneDrive\Documents\ProffieOS-v6.7\ProffieOS\ProffieOS.ino:426:
sketch\styles/style_ptr.h:93:16: note: candidate: 'template<class STYLE> StyleFactory* StylePtr()'
93 | StyleAllocator StylePtr() {
| ^~~~~~~~
sketch\styles/style_ptr.h:93:16: note: template argument deduction/substitution failed:
In file included from C:\Users\o\OneDrive\Documents\ProffieOS-v6.7\ProffieOS\ProffieOS.ino:563:
sketch\config/StarkillerTXQ.h:185:46: error: wrong number of template arguments (2, should be 1)
185 | StylePtr<ByteOrder<Color8::RGB, main blade>>(),
| ^
exit status 1
Error compiling for board Proffieboard V2.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I’m afraid I’m a bit out of my depth here.