Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef CONFIG_TOP
- #include "proffieboard_v2_config.h"
- #define NUM_BLADES 3
- #define NUM_BUTTONS 2
- #define VOLUME 1900
- const unsigned int maxLedsPerStrip = 144;
- #define CLASH_THRESHOLD_G 4.0
- #define ENABLE_AUDIO
- #define ENABLE_MOTION
- #define ENABLE_WS2811
- #define ENABLE_SD
- #define DISABLE_DIAGNOSTIC_COMMANDS
- #define COLOR_CHANGE_DIRECT
- #define FETT263_LOCKUP_DELAY 200
- #define FETT263_BATTLE_MODE_ALWAYS_ON
- #define FETT263_TWIST_OFF
- #endif
- #ifdef CONFIG_PROP
- #include "../props/saber_fett263_buttons.h"
- #endif
- #ifdef CONFIG_PRESETS
- Preset presets[] = {
- { "TeensySF", "tracks/venus.wav",
- StylePtr<Layers<StyleFire<Stripes<2500,-5000,BrownNoiseFlicker<RotateColorsX<Variation,Rgb<180,130,0>>,Black,20>,RotateColorsX<Variation,Rgb<7,5,0>>,BrownNoiseFlicker<Black,RotateColorsX<Variation,Rgb<190,150,20>>,70>,RotateColorsX<Variation,Rgb<90,65,0>>>,RotateColorsX<Variation,Rgb<56,41,0>>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Rgb<180,130,0>>,Stripes<1500,-2500,White,Rgb<180,130,0>>>,Int<18000>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<White,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<TransitionEffect<White,Rgb<128,0,0>,TrInstant,TrConcat<TrFade<1500>,Red,TrFade<2000>,Orange,TrFade<2500>>,EFFECT_IGNITION>,Bump<Int<0>,Int<6000>>>,ResponsiveStabL<Red,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<AudioFlicker<Blue,SteelBlue>,Bump<Int<0>,Int<8000>>>,TrFade<600>>,EFFECT_IGNITION>,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<TrWipe<300>,TrWipeIn<500>,Black>,TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrFade<2000>,AlphaL<HumpFlickerL<Red,10>,Bump<Int<0>,Int<4000>>>,TrFade<2950>,AlphaL<HumpFlickerL<Orange,15>,Bump<Int<0>,Int<5000>>>,TrFade<3000>,AlphaL<HumpFlickerL<White,20>,Bump<Int<0>,Int<6000>>>,TrBoing<1000,3>>,EFFECT_PREON>>>(),
- StylePtr<Layers<TransitionLoop<Black,TrConcat<TrJoin<TrWipe<800>,TrWipeIn<800>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoinR<TrWipe<500>,TrWipeIn<500>>>>,InOutTrL<TrFade<500>,TrInstant,Layers<Black,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_BOOT>>>>>(),
- StylePtr<Layers<Stripes<3500,-3000,RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<50,40,0>>,RotateColorsX<Variation,Rgb<220,160,40>>,RotateColorsX<Variation,Rgb<90,65,0>>> ,BlastL<White>,InOutTrL<TrInstant,TrFade<300>,Pulsing<RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<7,5,0>>,3000>>>>(),
- { "SmthJedi", "tracks/mars.wav",
- StylePtr<Layers<StyleFire<Stripes<2500,-5000,BrownNoiseFlicker<RotateColorsX<Variation,Rgb<180,130,0>>,Black,20>,RotateColorsX<Variation,Rgb<7,5,0>>,BrownNoiseFlicker<Black,RotateColorsX<Variation,Rgb<190,150,20>>,70>,RotateColorsX<Variation,Rgb<90,65,0>>>,RotateColorsX<Variation,Rgb<56,41,0>>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Rgb<180,130,0>>,Stripes<1500,-2500,White,Rgb<180,130,0>>>,Int<18000>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<White,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<TransitionEffect<White,Rgb<128,0,0>,TrInstant,TrConcat<TrFade<1500>,Red,TrFade<2000>,Orange,TrFade<2500>>,EFFECT_IGNITION>,Bump<Int<0>,Int<6000>>>,ResponsiveStabL<Red,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<AudioFlicker<Blue,SteelBlue>,Bump<Int<0>,Int<8000>>>,TrFade<600>>,EFFECT_IGNITION>,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<TrWipe<300>,TrWipeIn<500>,Black>,TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrFade<2000>,AlphaL<HumpFlickerL<Red,10>,Bump<Int<0>,Int<4000>>>,TrFade<2950>,AlphaL<HumpFlickerL<Orange,15>,Bump<Int<0>,Int<5000>>>,TrFade<3000>,AlphaL<HumpFlickerL<White,20>,Bump<Int<0>,Int<6000>>>,TrBoing<1000,3>>,EFFECT_PREON>>>(),
- StylePtr<Layers<Stripes<3500,-3000,RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<50,40,0>>,RotateColorsX<Variation,Rgb<220,160,40>>,RotateColorsX<Variation,Rgb<90,65,0>>> ,BlastL<White>,InOutTrL<TrInstant,TrFade<300>,Pulsing<RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<7,5,0>>,3000>>>>(),
- StylePtr<InOutSparkTip<EASYBLADE(BLUE, WHITE), 300, 800> >(), "blue"},
- { "SmthGrey", "tracks/mercury.wav",
- StyleFirePtr<RED, YELLOW, 0>(),
- StyleFirePtr<RED, YELLOW, 1>(),
- StyleFirePtr<RED, YELLOW, 2>(), "fire"},
- { "SmthFuzz", "tracks/uranus.wav",
- StylePtr<Layers<StyleFire<Stripes<2500,-5000,BrownNoiseFlicker<RotateColorsX<Variation,Rgb<180,130,0>>,Black,20>,RotateColorsX<Variation,Rgb<7,5,0>>,BrownNoiseFlicker<Black,RotateColorsX<Variation,Rgb<190,150,20>>,70>,RotateColorsX<Variation,Rgb<90,65,0>>>,RotateColorsX<Variation,Rgb<56,41,0>>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Rgb<180,130,0>>,Stripes<1500,-2500,White,Rgb<180,130,0>>>,Int<18000>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<White,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<TransitionEffect<White,Rgb<128,0,0>,TrInstant,TrConcat<TrFade<1500>,Red,TrFade<2000>,Orange,TrFade<2500>>,EFFECT_IGNITION>,Bump<Int<0>,Int<6000>>>,ResponsiveStabL<Red,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<AudioFlicker<Blue,SteelBlue>,Bump<Int<0>,Int<8000>>>,TrFade<600>>,EFFECT_IGNITION>,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<TrWipe<300>,TrWipeIn<500>,Black>,TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrFade<2000>,AlphaL<HumpFlickerL<Red,10>,Bump<Int<0>,Int<4000>>>,TrFade<2950>,AlphaL<HumpFlickerL<Orange,15>,Bump<Int<0>,Int<5000>>>,TrFade<3000>,AlphaL<HumpFlickerL<White,20>,Bump<Int<0>,Int<6000>>>,TrBoing<1000,3>>,EFFECT_PREON>>>(),
- StylePtr<Layers<TransitionLoop<Black,TrConcat<TrJoin<TrWipe<800>,TrWipeIn<800>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoinR<TrWipe<500>,TrWipeIn<500>>>>,InOutTrL<TrFade<500>,TrInstant,Layers<Black,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_BOOT>>>>>(),
- StylePtr<Layers<Stripes<3500,-3000,RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<50,40,0>>,RotateColorsX<Variation,Rgb<220,160,40>>,RotateColorsX<Variation,Rgb<90,65,0>>> ,BlastL<White>,InOutTrL<TrInstant,TrFade<300>,Pulsing<RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<7,5,0>>,3000>>>>(),
- { "RgueCmdr", "tracks/venus.wav",
- StyleFirePtr<BLUE, CYAN, 0>(),
- StyleFirePtr<BLUE, CYAN, 1>(),
- StyleFirePtr<BLUE, CYAN, 2>(), "blue fire"},
- { "TthCrstl", "tracks/mars.wav",
- StylePtr<Layers<StyleFire<Stripes<2500,-5000,BrownNoiseFlicker<RotateColorsX<Variation,Rgb<180,130,0>>,Black,20>,RotateColorsX<Variation,Rgb<7,5,0>>,BrownNoiseFlicker<Black,RotateColorsX<Variation,Rgb<190,150,20>>,70>,RotateColorsX<Variation,Rgb<90,65,0>>>,RotateColorsX<Variation,Rgb<56,41,0>>,0,5,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>,FireConfig<2,3000,0>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Rgb<180,130,0>>,Stripes<1500,-2500,White,Rgb<180,130,0>>>,Int<18000>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<White,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<TransitionEffect<White,Rgb<128,0,0>,TrInstant,TrConcat<TrFade<1500>,Red,TrFade<2000>,Orange,TrFade<2500>>,EFFECT_IGNITION>,Bump<Int<0>,Int<6000>>>,ResponsiveStabL<Red,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<AudioFlicker<Blue,SteelBlue>,Bump<Int<0>,Int<8000>>>,TrFade<600>>,EFFECT_IGNITION>,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<TrWipe<300>,TrWipeIn<500>,Black>,TransitionEffectL<TrConcat<TrDelay<1500>,Black,TrFade<1000>,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrFade<2000>,AlphaL<HumpFlickerL<Red,10>,Bump<Int<0>,Int<4000>>>,TrFade<2950>,AlphaL<HumpFlickerL<Orange,15>,Bump<Int<0>,Int<5000>>>,TrFade<3000>,AlphaL<HumpFlickerL<White,20>,Bump<Int<0>,Int<6000>>>,TrBoing<1000,3>>,EFFECT_PREON>>>(),
- StylePtr<Layers<TransitionLoop<Black,TrConcat<TrJoin<TrWipe<800>,TrWipeIn<800>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoinR<TrWipe<500>,TrWipeIn<500>>>>,InOutTrL<TrFade<500>,TrInstant,Layers<Black,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrJoinR<TrWipe<500>,TrWipeIn<500>>,RotateColorsX<Variation,DeepSkyBlue>,TrJoin<TrWipe<500>,TrWipeIn<500>>>>,TrFade<500>>,EFFECT_BOOT>>>>>(),
- StylePtr<Layers<Stripes<3500,-3000,RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<50,40,0>>,RotateColorsX<Variation,Rgb<220,160,40>>,RotateColorsX<Variation,Rgb<90,65,0>>> ,BlastL<White>,InOutTrL<TrInstant,TrFade<300>,Pulsing<RotateColorsX<Variation,Rgb<180,130,0>>,RotateColorsX<Variation,Rgb<7,5,0>>,3000>>>>(),
- { "CODA", "tracks/mercury.wav",
- StyleNormalPtr<WHITE, RED, 300, 800, RED>(),
- StyleNormalPtr<WHITE, RED, 300, 800, RED>(),
- StyleNormalPtr<WHITE, RED, 300, 800, RED>(), "white"},
- { "LiquidStatic", "tracks/uranus.wav",
- StyleNormalPtr<AudioFlicker<YELLOW, WHITE>, BLUE, 300, 800>(),
- StyleNormalPtr<AudioFlicker<YELLOW, WHITE>, BLUE, 300, 800>(),
- StyleNormalPtr<AudioFlicker<YELLOW, WHITE>, BLUE, 300, 800>(), "yellow"},
- { "SmthGrey", "tracks/venus.wav",
- StylePtr<InOutSparkTip<EASYBLADE(MAGENTA, WHITE), 300, 800> >(),
- StylePtr<InOutSparkTip<EASYBLADE(MAGENTA, WHITE), 300, 800> >(),
- StylePtr<InOutSparkTip<EASYBLADE(MAGENTA, WHITE), 300, 800> >(), "magenta"},
- { "SmthFuzz", "tracks/mars.wav",
- StyleNormalPtr<Gradient<RED, BLUE>, Gradient<CYAN, YELLOW>, 300, 800>(),
- StyleNormalPtr<Gradient<RED, BLUE>, Gradient<CYAN, YELLOW>, 300, 800>(),
- StyleNormalPtr<Gradient<RED, BLUE>, Gradient<CYAN, YELLOW>, 300, 800>(), "gradient"},
- { "RgueCmdr", "tracks/mercury.wav",
- StyleRainbowPtr<300, 800>(),
- StyleRainbowPtr<300, 800>(),
- StyleRainbowPtr<300, 800>(), "rainbow"},
- { "TthCrstl", "tracks/uranus.wav",
- StyleStrobePtr<WHITE, Rainbow, 15, 300, 800>(),
- StyleStrobePtr<WHITE, Rainbow, 15, 300, 800>(),
- StyleStrobePtr<WHITE, Rainbow, 15, 300, 800>(), "strobe"},
- { "TeensySF", "tracks/venus.wav",
- &style_pov,
- StyleNormalPtr<BLACK, BLACK, 300, 800>(),
- StyleNormalPtr<BLACK, BLACK, 300, 800>(), "POV"},
- { "SmthJedi", "tracks/mars.wav",
- &style_charging,
- StyleNormalPtr<BLACK, BLACK, 300, 800>(),
- StyleNormalPtr<BLACK, BLACK, 300, 800>(), "Battery\nLevel"}
- };
- BladeConfig blades[] = {
- { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
- WS281XBladePtr<10, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin4, bladePowerPin5> >(),
- WS281XBladePtr<1, blade4Pin, Color8::GRB, PowerPINS<bladePowerPin6> >()
- , CONFIGARRAY(presets) },
- };
- #endif
- #ifdef CONFIG_BUTTONS
- Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
- Button AuxButton(BUTTON_AUX, auxPin, "aux");
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement