I’m just starting out in the hobby and having some trouble getting my config file to verify. Any ideas about what the issue could be?
Thanks!
#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 2
#define NUM_BUTTONS 2
#define VOLUME 1000
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 1.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#endif
#ifdef CONFIG_PRESETS
Preset presets[] = {
{ "RgueCmdr", "tracks/venus.wav",
StylePtr<Layers<StaticFire<BrownNoiseFlicker<Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>,RandomPerLEDFlicker<Mix<Int<3213>,Black,Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>>,Mix<Int<7710>,Black,Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>>>,300>,Mix<Int<10280>,Black,Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>>,0,6,10,1000,2>,TransitionLoopL<TrConcat<TrDelayX<Scale<SlowNoise<Int<1000>>,Int<300>,Int<3000>>>,AlphaL<RgbArg<EMITTER_COLOR_ARG,Rgb<0,0,255>>,Int<0>>,TrSparkX<RgbArg<EMITTER_COLOR_ARG,Rgb<0,0,255>>,Scale<NoisySoundLevel,Int<200>,Int<600>>,Int<250>,Int<0>>>>,AlphaL<RandomPerLEDFlickerL<RgbArg<EMITTER_COLOR_ARG,Rgb<0,0,255>>>,SmoothStep<Scale<NoisySoundLevel,IntArg<EMITTER_SIZE_ARG,-818>,Sum<IntArg<EMITTER_SIZE_ARG,-818>,Int<6000>>>,Int<-6000>>>,TransitionEffectL<TrConcat<TrJoin<TrDelay<200>,TrInstant>,AlphaL<Green,SmoothStep<IntArg<EMITTER_SIZE_ARG,-818>,Int<-500>>>,TrFade<300>,AlphaL<Blue,SmoothStep<IntArg<EMITTER_SIZE_ARG,-818>,Int<-500>>>,TrFade<500>>,EFFECT_IGNITION>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<RetractionTime<400>>,TrInstant>,Stripes<5000,2500,RgbArg<RETRACTION_COLOR_ARG,Rgb<0,0,255>>,Mix<Int<7710>,Black,RgbArg<RETRACTION_COLOR_ARG,Rgb<0,0,255>>>,Mix<Int<3855>,Black,RgbArg<RETRACTION_COLOR_ARG,Rgb<0,0,255>>>>,TrFade<800>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<Scale<ClashImpactF<>,Int<100>,Int<600>>>,TrCenterWipeX<Int<150>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-10000>>>>>,AlphaL<Remap<CenterDistF<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-10000>>>>,StripesX<Int<16000>,Scale<ClashImpactF<>,Int<3000>,Int<10000>>,Mix<IsGreaterThan<ClashImpactF<>,Int<23000>>,Rgb<0,20,128>,Rgb<128,0,0>>,Mix<IsGreaterThan<ClashImpactF<>,Int<23000>>,DodgerBlue,Red>,Mix<IsGreaterThan<ClashImpactF<>,Int<23000>>,Rgb<0,10,80>,Rgb<90,0,0>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<50000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<600>>>>,EFFECT_CLASH>,LockupTrL<AlphaL<StripesX<Int<16000>,Int<12000>,Rgb<128,0,0>,Red,Rgb<90,0,0>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-10000>>>,Int<50000>>>,TrConcat<TrJoin<TrDelayX<Scale<ClashImpactF<>,Int<2000>,Int<100>>>,TrCenterWipeX<Int<150>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-10000>>>>>,AlphaL<StripesX<Int<16000>,Scale<ClashImpactF<>,Int<3000>,Int<10000>>,Mix<IsGreaterThan<ClashImpactF<>,Int<23000>>,Rgb<0,20,128>,Rgb<128,0,0>>,Mix<IsGreaterThan<ClashImpactF<>,Int<23000>>,DodgerBlue,Red>,Mix<IsGreaterThan<ClashImpactF<>,Int<23000>>,Rgb<0,10,80>,Rgb<90,0,0>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,23243>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<50000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<600>,Int<100>>>>,TrFade<400>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<0,0,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<0,0,255>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<0,0,255>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<0,0,255>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<30,60,200>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30502>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<30,60,200>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,30502>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,28945>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28945>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28945>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrConcat<TrJoin<TrDelayX<Mult<IgnitionTime<1100>,Int<16384>>>,TrWipeX<Mult<IgnitionTime<1100>,Int<16384>>>>,Mix<SmoothStep<NoisySoundLevel,Int<-1>>,Black,RgbArg<IGNITION_COLOR_ARG,Rgb<0,0,255>>>,TrWipeX<Mult<IgnitionTime<1100>,Int<16384>>>>,TrConcat<TrSparkX<Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>,Int<100>,Mult<RetractionTime<400>,Int<6554>>,Int<0>>,AlphaL<Black,SmoothStep<Int<26216>,Int<0>>>,TrSparkX<Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>,Int<100>,Mult<RetractionTime<400>,Int<6554>>,Int<0>>,AlphaL<Black,SmoothStep<Int<19662>,Int<0>>>,TrSparkX<Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>,Int<100>,Mult<RetractionTime<400>,Int<6554>>,Int<0>>,AlphaL<Black,SmoothStep<Int<13108>,Int<0>>>,TrSparkX<Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>,Int<100>,Mult<RetractionTime<400>,Int<6554>>,Int<0>>,AlphaL<Black,SmoothStep<Int<6554>,Int<0>>>,TrSparkX<Gradient<RotateColorsX<Scale<Sin<Int<45>>,Int<0>,Int<3313>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>,RotateColorsX<Scale<Sin<Int<45>>,Int<3313>,Int<0>>,RgbArg<BASE_COLOR_ARG,Rgb<255,97,0>>>>,Int<100>,Mult<RetractionTime<400>,Int<6554>>,Int<0>>>,Black>,TransitionEffectL<TrConcat<TrJoin<TrDelay<2000>,TrInstant>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<IntArg<EMITTER_SIZE_ARG,-818>,Int<-4000>>>,TrFade<300>>,EFFECT_BATTERY_LEVEL>,TransitionEffectL<TrConcat<TrJoin<TrDelay<2000>,TrInstant>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<IntArg<EMITTER_SIZE_ARG,-818>,Int<-4000>>>,TrFade<300>>,EFFECT_BOOT>>>(),}
{ "SmthJedi", "tracks/mars.wav",
&style_charging,
StyleNormalPtr<BLACK, BLACK, 300, 800>(), "Battery\nLevel"}
};
BladeConfig blades[] = {
{ 0, WS281XBladePtr<105, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
WS281XBladePtr<1, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin4> >(),
SimpleBladePtr<CH1LED, NoLED, NoLED, NoLED, bladePowerPin1, -1, -1, -1>(),
SimpleBladePtr<CH1LED, NoLED, NoLED, NoLED, bladePowerPin5, -1, -1, -1>(),
SimpleBladePtr<CH1LED, NoLED, NoLED, NoLED, bladePowerPin6, -1, -1, -1>(),
CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif