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 1
- #define NUM_BUTTONS 1
- #define VOLUME 1600
- const unsigned int maxLedsPerStrip = 144;
- #define CLASH_THRESHOLD_G 3.0
- #define ENABLE_AUDIO
- #define ENABLE_MOTION
- #define ENABLE_WS2811
- #define ENABLE_SD
- #define MOTION_TIMEOUT 60 * 15 * 1000
- #define IDLE_OFF_TIME 60 * 15 * 1000
- #define DISABLE_BASIC_PARSER_STYLES
- #define DISABLE_DIAGNOSTIC_COMMANDS
- #define ENABLE_ALL_EDIT_OPTIONS
- #define FETT263_CLASH_STRENGTH_SOUND
- #define FETT263_MAX_CLASH 11
- #define FETT263_SAY_BATTERY_PERCENT
- #define FETT263_QUOTE_PLAYER_START_ON
- #define FETT263_HOLD_BUTTON_OFF
- #define FETT263_LOCKUP_DELAY 200
- #define FETT263_BM_CLASH_DETECT 6
- #define FETT263_THRUST_ON
- #define FETT263_THRUST_ON_NO_BM
- #define FETT263_STAB_ON
- #define FETT263_STAB_ON_NO_BM
- #define FETT263_TWIST_OFF
- #define FETT263_FORCE_PUSH_ALWAYS_ON
- #define FETT263_FORCE_PUSH_LENGTH 5
- #define NO_REPEAT_RANDOM
- #define COLOR_CHANGE_DIRECT
- #endif
- #ifdef CONFIG_PROP
- #include "../props/saber_fett263_buttons.h"
- #endif
- #ifdef CONFIG_PRESETS
- Preset presets[] = {
- { "VOLTRON;common", "VOLTRON/tracks/VOLTRON.wav",
- StylePtr<Layers<AudioFlicker<RotateColorsX<Variation,ColorSequence<500,Yellow,Blue,Green,Red,Magenta>>,RotateColorsX<Variation,Rgb<0,0,128>>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Blue>,Stripes<1500,-2500,White,Blue>>,Int<16384>>,TrFade<800>>,EFFECT_LOCKUP_END>,ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<400>>,TrFade<100>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,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>>>,ResponsiveStabL<Red>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,TransitionEffectL<TrConcat<TrInstant,Stripes<3000,-3500,RotateColorsX<Variation,Rgb<150,150,255>>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<0,0,60>>,Black>,BrownNoiseFlicker<RotateColorsX<Variation,Rgb<150,150,255>>,RotateColorsX<Variation,Rgb<0,0,60>>,200>,RandomPerLEDFlicker<RotateColorsX<Variation,Rgb<0,0,128>>,RotateColorsX<Variation,Rgb<0,0,60>>>>,TrFade<1200>>,EFFECT_IGNITION>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<RotateColorsX<Variation,Rgb<150,150,255>>>,TrFade<1200>>,EFFECT_RETRACTION>,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<TrConcat<TrWaveX<RotateColorsX<Variation,Blue>,Int<400>,Int<300>,Int<400>,Int<32768>>,Mix<SmoothStep<Int<5500>,Int<-2000>>,Black,RotateColorsX<Variation,Yellow>>,TrWaveX<RotateColorsX<Variation,Blue>,Int<350>,Int<300>,Int<350>,Int<32768>>,Mix<SmoothStep<Int<11000>,Int<-2000>>,Black,RotateColorsX<Variation,Blue>>,TrWaveX<RotateColorsX<Variation,Blue>,Int<300>,Int<300>,Int<300>,Int<32768>>,Mix<SmoothStep<Int<16500>,Int<-2000>>,Black,RotateColorsX<Variation,Green>>,TrWaveX<RotateColorsX<Variation,Blue>,Int<250>,Int<300>,Int<250>,Int<32768>>,Mix<SmoothStep<Int<22000>,Int<-2000>>,Black,RotateColorsX<Variation,Red>>,TrWaveX<RotateColorsX<Variation,Blue>,Int<200>,Int<300>,Int<200>,Int<32768>>,Mix<SmoothStep<Int<27500>,Int<-2000>>,Black,RotateColorsX<Variation,Magenta>>,TrWipeIn<200>,Mix<SmoothStep<Int<33000>,Int<-2000>>,Black,RotateColorsX<Variation,Black>>,TrFade<300>>,TrJoinR<TrWipe<6000>,TrWipeIn<6000>>>,TransitionEffectL<TrConcat<TrDelay<1500>,AlphaL<HumpFlickerL<Rgb<100,100,150>,30>,Bump<Int<0>,Int<3000>>>,TrFade<2000>,AlphaL<HumpFlickerL<Rgb<100,100,150>,30>,Bump<Int<0>,Int<4000>>>,TrFade<2500>,AlphaL<HumpFlickerL<Rgb<100,100,150>,30>,Bump<Int<0>,Int<5000>>>,TrBoing<1950,7>>,EFFECT_PREON>,TransitionEffectL<TrConcat<TrInstant,TransitionLoopL<TrWaveX<Rgb<100,100,150>,Int<500>,Int<200>,Int<500>,Int<32768>>>,TrDelay<1500>,TransitionLoopL<TrWaveX<Rgb<100,100,150>,Int<300>,Int<300>,Int<300>,Int<32768>>>,TrDelay<2000>,TransitionLoopL<TrWaveX<Rgb<100,100,150>,Int<100>,Int<400>,Int<100>,Int<32768>>>,TrDelay<3000>,AlphaL<Rgb<100,100,150>,Bump<Int<0>,Int<6000>>>,TrBoing<1450,5>>,EFFECT_PREON>>>()StylePtr<Layers<Mix<BatteryLevel,Red,Green>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrInstant,TrInstant,Pulsing<Black,RotateColorsX<Variation,Red>,3000>>>>(),StylePtr<Layers<ColorCycle<RotateColorsX<Variation,Blue>,25,100,RotateColorsX<Variation,Blue>,85,1000,4000>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<Black,Int<100>>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrInstant,TrColorCycle<3000>>,TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<Blue>,TrFade<1200>>,EFFECT_RETRACTION>>>(),
- "VOLTRON"
- },
- { "Cylon;common", "Cylontracks/Battle.wav",
- StylePtr<Layers<
- AudioFlicker<RotateColorsX<Variation,Cylon<Red,5,20,Red,20,20,1>>,RotateColorsX<Variation,Rgb<128,0,0>>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Red>,Stripes<1500,-2500,White,Red>>,Int<16384>>,TrFade<800>>,EFFECT_LOCKUP_END>,ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Blue,300>,50,1>,TrConcat<TrInstant,White,TrFade<400>>,TrFade<100>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,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>>>,ResponsiveStabL<Orange>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<White,TrInstant,TrFade<400>>,TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Rgb<255,200,0>,DarkOrange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<300>,TrColorCycle<2000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<White,Bump<Int<0>,Int<10000>>>,TrFade<3000>,AlphaL<Orange,Bump<Int<0>,Int<8000>>>,TrFade<3000>,AlphaL<Red,Bump<Int<0>,Int<6000>>>,TrFade<2000>>,EFFECT_RETRACTION>,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<
- Mix<BatteryLevel,Red,Green>,
- TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_IGNITION>,
- InOutTrL<TrInstant,TrInstant,Pulsing<Black,RotateColorsX<Variation,Red>,3000>>>>(),
- StylePtr<Layers<
- ColorCycle<RotateColorsX<Variation,Red>,25,100,RotateColorsX<Variation,Red>,85,1000,4000>,
- TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<Black,Int<100>>,TrFade<1200>>,EFFECT_IGNITION>,
- InOutTrL<TrInstant,TrColorCycle<3000>>,
- TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<Red>,TrFade<1200>>,EFFECT_RETRACTION>>>(),
- "CYLON"
- },
- };
- BladeConfig blades[] = {
- { 0, WS281XBladePtr<136, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
- CONFIGARRAY(presets) },
- };
- #endif
- #ifdef CONFIG_BUTTONS
- Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
- #endif
- /* Generated with Fett263 Config Helper v1.5 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement