I’m learning this at the same time I’m teaching the Padawan and here’s where we are so far. Any assistance in dialing in the rest of the code is appreciated. @Fett263 again, thanks.
/Padawan Lesson. New way of writing for WavLen.
//First is the updated config, the old one is below for comparison.
//If I understood correctly as to a possible code error we need to edit the WavLen lines to the following versus leaving the values at "0"?
//Darksaber V2 (Animated Series Sabine Wren) InOutTrL<TrWipeX<IgnitionTime<300>>,TrWipeInX<RetractionTime<500>>>,
//Darksaber V3 (Live Action Mandalorian Series) InOutTrL<TrWipeX<IgnitionTime<300>>,TrWipeInX<RetractionTime<1000>>>,
//New Config using InOutTrL<TrWipeX<IgnitionTime<>>,TrWipeInX<RetractionTime<>>>,
#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#define VOLUME 1300
#define ENABLE_ALL_EDIT_OPTIONS
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 3.25
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SERIAL
#define ENABLE_SD
#define COLOR_CHANGE_DIRECT
#define DISABLE_DIAGNOSTIC_COMMANDS
#define FETT263_MULTI_PHASE
#define FETT263_LOCKUP_DELAY 200
#define FETT263_BATTLE_MODE_START_ON
#define FETT263_SAY_BATTERY_PERCENT
#define DISABLE_BASIC_PARSER_STYLES
#define FETT263_SWING_ON
#define FETT263_TWIST_OFF
#define KILL_OLD_PLAYERS
#define SHARED_POWER_PINS
#define MOTION_TIMEOUT 60 * 5 * 1000
#define IDLE_OFF_TIME 60 * 5 * 1000
#define SAVE_STATE
#endif
#ifdef CONFIG_PROP
#include "../props/saberfett263_buttons.h"
#endif
#ifdef CONFIG_PRESETS
Preset presets[] = {
//These configs contain elements of @Fett263 OS5 as well as effect elements I've picked up along the way, changed, etc as to effects that have been edited for visuals.
//Keep the attributions intact if using them relating to the effects and primary blade style copyrights belong to Fett263, Fernando Darosa.
{"Dark_V2","tracks/sabineheavy.wav",
StylePtr<
Layers<
Mix<SwingSpeed<400>,RotateColorsX<Variation,Rgb<100,100,150>>,RotateColorsX<Variation,Rgb<150,150,225>>>,
BrownNoiseFlickerL<Stripes<5000,-300,RotateColorsX<Variation,Rgb<25,25,55>>,RotateColorsX<Variation,Rgb<75,75,120>>,RotateColorsX<Variation,Rgb<10,10,20>>,RotateColorsX<Variation,Rgb<50,50,75>>>,Int<38400>>,
AudioFlickerL<RotateColorsX<Variation,Rgb<35,35,75>>>,
Layers<
AlphaL<Black,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<36000>>>>,
AlphaL<OrangeRed,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<20000>>>>,
AlphaL<LemonChiffon,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<10000>>>>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<24000>,Int<28000>>>>,
AlphaL<Azure,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveStabL<Moccasin,TrJoin<TrSmoothFade<300>,TrWipeInSparkTipX<White,Int<300>>,TrWipeInSparkTip<DarkOrange,150>,TrWipeInSparkTip<DarkOrange,250>,TrWipeInSparkTip<DarkOrange,250>>>,
TransitionEffectL<TrConcat<TrInstant,White,TrFade<300>>,EFFECT_LOCKUP_BEGIN>,
TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Black,White,Rgb<20,20,20>,Rgb<75,75,75>>,Stripes<2000,3000,Rgb<75,75,75>,Rgb<75,75,75>,Rgb<100,100,100>,Rgb<60,60,60>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Red,Black,Rgb<200,0,0>,Rgb<90,0,0>>,Stripes<2000,3000,Rgb<255,200,0>,Rgb<100,75,0>,Rgb<200,160,0>,Rgb<60,40,0>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
ResponsiveLightningBlockL<White,TrConcat<TrInstant,White,TrJoinR<TrWipeInSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<200>,Int<100>>,TrWipeSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<200>,Int<100>>>>,TrConcat<TrInstant,White,TrJoinR<TrWipeInSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<100>,Int<100>>,TrWipeSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<100>,Int<100>>>>>,
TransitionEffectL<TrConcat<TrWipe<50>,White,TrWipe<50>>,EFFECT_BLAST>,
InOutTrL<TrWipeX<IgnitionTime<>>,TrWipeInX<RetractionTime<>>>,
TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<-4000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<4000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,AlphaL<Black,Scale<IsLessThan<BatteryLevel,Int<11000>>,Int<0>,Int<11000>>>>>(), "SabineWren"},
{"Dark_V3_Beskar","tracks/themando.wav",
StylePtr<
Layers<
Mix<SwingSpeed<400>,RotateColorsX<Variation,Rgb<100,100,150>>,RotateColorsX<Variation,Rgb<150,150,225>>>,
BrownNoiseFlickerL<Stripes<5000,-300,RotateColorsX<Variation,Rgb<25,25,55>>,RotateColorsX<Variation,Rgb<75,75,120>>,RotateColorsX<Variation,Rgb<10,10,20>>,RotateColorsX<Variation,Rgb<50,50,75>>>,Int<38400>>,
AudioFlickerL<RotateColorsX<Variation,Rgb<35,35,75>>>,
Layers<
AlphaL<Black,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<36000>>>>,
AlphaL<OrangeRed,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<20000>>>>,
AlphaL<LemonChiffon,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<10000>>>>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<24000>,Int<28000>>>>,
AlphaL<Azure,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveStabL<Moccasin,TrJoin<TrSmoothFade<300>,TrWipeInSparkTipX<White,Int<300>>,TrWipeInSparkTip<DarkOrange,150>,TrWipeInSparkTip<DarkOrange,250>,TrWipeInSparkTip<DarkOrange,250>>>,
TransitionEffectL<TrConcat<TrInstant,White,TrFade<300>>,EFFECT_LOCKUP_BEGIN>,
TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Black,White,Rgb<20,20,20>,Rgb<75,75,75>>,Stripes<2000,3000,Rgb<75,75,75>,Rgb<75,75,75>,Rgb<100,100,100>,Rgb<60,60,60>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Red,Black,Rgb<200,0,0>,Rgb<90,0,0>>,Stripes<2000,3000,Rgb<255,200,0>,Rgb<100,75,0>,Rgb<200,160,0>,Rgb<60,40,0>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
ResponsiveLightningBlockL<White,TrConcat<TrInstant,White,TrJoinR<TrWipeInSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<200>,Int<100>>,TrWipeSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<200>,Int<100>>>>,TrConcat<TrInstant,White,TrJoinR<TrWipeInSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<100>,Int<100>>,TrWipeSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<100>,Int<100>>>>>,
TransitionEffectL<TrConcat<TrWipe<50>,White,TrWipe<50>>,EFFECT_BLAST>,
InOutTrL<TrWipeX<IgnitionTime<>>,TrWipeInX<RetractionTime<>>>,
TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<-4000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<4000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,AlphaL<Black,Scale<IsLessThan<BatteryLevel,Int<11000>>,Int<0>,Int<11000>>>>>(), "DinDjarin"},
};
BladeConfig blades[] = {
{ 0,
WS281XBladePtr<122, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif
//Old Config using InOutTrL<TrWipe<300>,TrWipeIn<500>>, and InOutTrL<TrWipe<300>,TrWipeIn<1000>>,
#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#define VOLUME 1300
#define ENABLE_ALL_EDIT_OPTIONS
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 3.25
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SERIAL
#define ENABLE_SD
#define COLOR_CHANGE_DIRECT
#define DISABLE_DIAGNOSTIC_COMMANDS
#define FETT263_MULTI_PHASE
#define FETT263_LOCKUP_DELAY 200
#define FETT263_BATTLE_MODE_START_ON
#define FETT263_SAY_BATTERY_PERCENT
#define DISABLE_BASIC_PARSER_STYLES
#define FETT263_SWING_ON
#define FETT263_TWIST_OFF
#define KILL_OLD_PLAYERS
#define SHARED_POWER_PINS
#define MOTION_TIMEOUT 60 * 5 * 1000
#define IDLE_OFF_TIME 60 * 5 * 1000
#define SAVE_STATE
#endif
#ifdef CONFIG_PROP
#include "../props/saberfett263_buttons.h"
#endif
#ifdef CONFIG_PRESETS
Preset presets[] = {
//These configs contain elements of @Fett263 OS5 as well as effect elements I've picked up along the way, changed, etc as to effects that have been edited for visuals.
//Keep the attributions intact if using them relating to the effects and primary blade style copyrights belong to Fett263, Fernando Darosa.
{"Dark_V2","tracks/sabinehvy.wav",
StylePtr<
Layers<
Mix<SwingSpeed<400>,RotateColorsX<Variation,Rgb<100,100,150>>,RotateColorsX<Variation,Rgb<150,150,225>>>,
BrownNoiseFlickerL<Stripes<5000,-300,RotateColorsX<Variation,Rgb<25,25,55>>,RotateColorsX<Variation,Rgb<75,75,120>>,RotateColorsX<Variation,Rgb<10,10,20>>,RotateColorsX<Variation,Rgb<50,50,75>>>,Int<38400>>,
AudioFlickerL<RotateColorsX<Variation,Rgb<35,35,75>>>,
Layers<
AlphaL<Black,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<36000>>>>,
AlphaL<OrangeRed,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<20000>>>>,
AlphaL<LemonChiffon,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<10000>>>>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<24000>,Int<28000>>>>,
AlphaL<Azure,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveStabL<Moccasin,TrJoin<TrSmoothFade<300>,TrWipeInSparkTipX<White,Int<300>>,TrWipeInSparkTip<DarkOrange,150>,TrWipeInSparkTip<DarkOrange,250>,TrWipeInSparkTip<DarkOrange,250>>>,
TransitionEffectL<TrConcat<TrInstant,White,TrFade<300>>,EFFECT_LOCKUP_BEGIN>,
TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Black,White,Rgb<20,20,20>,Rgb<75,75,75>>,Stripes<2000,3000,Rgb<75,75,75>,Rgb<75,75,75>,Rgb<100,100,100>,Rgb<60,60,60>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Red,Black,Rgb<200,0,0>,Rgb<90,0,0>>,Stripes<2000,3000,Rgb<255,200,0>,Rgb<100,75,0>,Rgb<200,160,0>,Rgb<60,40,0>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
ResponsiveLightningBlockL<White,TrConcat<TrInstant,White,TrJoinR<TrWipeInSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<200>,Int<100>>,TrWipeSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<200>,Int<100>>>>,TrConcat<TrInstant,White,TrJoinR<TrWipeInSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<100>,Int<100>>,TrWipeSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<100>,Int<100>>>>>,
TransitionEffectL<TrConcat<TrWipe<50>,White,TrWipe<50>>,EFFECT_BLAST>,
InOutTrL<TrWipe<300>,TrWipeIn<500>>,
TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<-4000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<4000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,AlphaL<Black,Scale<IsLessThan<BatteryLevel,Int<11000>>,Int<0>,Int<11000>>>>>(), "SabineWren"},
{"Dark_V3_Beskar","tracks/mando.wav",
StylePtr<
Layers<
Mix<SwingSpeed<400>,RotateColorsX<Variation,Rgb<100,100,150>>,RotateColorsX<Variation,Rgb<150,150,225>>>,
BrownNoiseFlickerL<Stripes<5000,-300,RotateColorsX<Variation,Rgb<25,25,55>>,RotateColorsX<Variation,Rgb<75,75,120>>,RotateColorsX<Variation,Rgb<10,10,20>>,RotateColorsX<Variation,Rgb<50,50,75>>>,Int<38400>>,
AudioFlickerL<RotateColorsX<Variation,Rgb<35,35,75>>>,
Layers<
AlphaL<Black,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<36000>>>>,
AlphaL<OrangeRed,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<20000>>>>,
AlphaL<LemonChiffon,Bump<Scale<BladeAngle<>,Int<8192>,Int<24576>>,Scale<Trigger<EFFECT_CLASH,Int<100>,Int<120>,Int<30>>,Int<0>,Int<10000>>>>>,
LockupTrL<Layers<
AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<24000>,Int<28000>>>>,
AlphaL<Azure,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,TransitionEffect<Azure,White,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<White,Azure,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
ResponsiveStabL<Moccasin,TrJoin<TrSmoothFade<300>,TrWipeInSparkTipX<White,Int<300>>,TrWipeInSparkTip<DarkOrange,150>,TrWipeInSparkTip<DarkOrange,250>,TrWipeInSparkTip<DarkOrange,250>>>,
TransitionEffectL<TrConcat<TrInstant,White,TrFade<300>>,EFFECT_LOCKUP_BEGIN>,
TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Black,White,Rgb<20,20,20>,Rgb<75,75,75>>,Stripes<2000,3000,Rgb<75,75,75>,Rgb<75,75,75>,Rgb<100,100,100>,Rgb<60,60,60>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
LockupTrL<AlphaL<Mix<TwistAngle<>,Stripes<1000,3000,Red,Black,Rgb<200,0,0>,Rgb<90,0,0>>,Stripes<2000,3000,Rgb<255,200,0>,Rgb<100,75,0>,Rgb<200,160,0>,Rgb<60,40,0>>>,SmoothStep<Scale<TwistAngle<>,Int<29000>,Int<26000>>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
ResponsiveLightningBlockL<White,TrConcat<TrInstant,White,TrJoinR<TrWipeInSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<200>,Int<100>>,TrWipeSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<200>,Int<100>>>>,TrConcat<TrInstant,White,TrJoinR<TrWipeInSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<100>,Int<100>>,TrWipeSparkTipX<RotateColorsX<Variation,Rgb16<31206,62191,65535>>,Int<100>,Int<100>>>>>,
TransitionEffectL<TrConcat<TrWipe<50>,White,TrWipe<50>>,EFFECT_BLAST>,
InOutTrL<TrWipe<300>,TrWipeIn<1000>>,
TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<-4000>>>,TrDelay<2000>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<Int<4000>,Int<4000>>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>,AlphaL<Black,Scale<IsLessThan<BatteryLevel,Int<11000>>,Int<0>,Int<11000>>>>>(), "DinDjarin"},
};
BladeConfig blades[] = {
{ 0,
WS281XBladePtr<122, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif