Advertisement
Cochese3

Fallen v2 Config

Nov 12th, 2021
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifdef CONFIG_TOP
  2. #include "proffieboard_v2_config.h"
  3. #define NUM_BLADES 2
  4. #define NUM_BUTTONS 1
  5. #define VOLUME 2000
  6. const unsigned int maxLedsPerStrip = 144;
  7. #define CLASH_THRESHOLD_G 1.0
  8. #define ENABLE_AUDIO
  9. #define ENABLE_MOTION
  10. #define ENABLE_WS2811
  11. #define ENABLE_SD
  12. #define SAVE_STATE
  13. #define COLOR_CHANGE_DIRECT
  14. #define DISABLE_DIAGNOSTIC_COMMANDS
  15. #define IDLE_OFF_TIME 60 * 10 * 1000
  16. #define NO_REPEAT_RANDOM
  17. #define SHTOK_GESTURE_IGNITION
  18. #define SA22C_TWIST_ON
  19. #endif
  20.  
  21. #ifdef CONFIG_PROP
  22. #include "../props/saber_sa22c_buttons.h"
  23. #endif
  24.  
  25. #ifdef CONFIG_PRESETS
  26. Preset presets[] = {
  27. { "Survivor", "tracks/JFO2.wav",
  28. StylePtr<Layers<Mix<SwingSpeed<500>,Stripes<16000,-1000,RotateColorsX<Variation,Red>,Pulsing<RotateColorsX<Variation,Rgb<90,0,0>>,RotateColorsX<Variation,Red>,800>,RotateColorsX<Variation,Red>>,Gradient<BrownNoiseFlicker<OrangeRed,Orange,400>,BrownNoiseFlicker<OrangeRed,Rgb<30,0,0>,400>,BrownNoiseFlicker<OrangeRed,Red,400>,BrownNoiseFlicker<OrangeRed,Orange,400>>>,LockupTrL<Layers<AlphaL<AudioFlickerL<Rgb<255,240,80>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<LemonChiffon,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,TransitionEffect<Rgb<255,180,50>,LemonChiffon,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<LemonChiffon,Rgb<255,180,50>,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,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>>>,ResponsiveStabL<Orange,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<TransitionEffect<Rgb<255,240,80>,LemonChiffon,TrInstant,TrFade<50>,EFFECT_BLAST>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<TransitionEffect<Rgb<255,240,80>,LemonChiffon,TrInstant,TrFade<100>,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,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>,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<TrInstant,AlphaL<Mix<BatteryLevel,Red,Green>,Bump<Int<0>,Int<6000>>>,TrFade<3000>>,EFFECT_NEWFONT>>>(),
  29. StylePtr<Layers<TransitionLoop<RotateColorsX<Variation,Red>,TrConcat<TrBoing<1200,2>,RotateColorsX<Variation,Rgb<10,0,0>>,TrFade<1200>>>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<White,Int<100>>,TrFade<1200>>,EFFECT_IGNITION>,InOutTrL<TrInstant,TrFade<500>,Layers<Black,TransitionEffectL<TrConcat<TrInstant,Pulsing<Black,RotateColorsX<Variation,Red>,3000>,TrDelay<12000>,Pulsing<Black,RotateColorsX<Variation,Red>,3000>,TrFade<500>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrInstant,Pulsing<Black,RotateColorsX<Variation,Red>,3000>,TrDelay<12000>,Pulsing<Black,RotateColorsX<Variation,Red>,3000>,TrFade<500>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,Pulsing<Black,RotateColorsX<Variation,Red>,3000>,TrDelay<12000>,Pulsing<Black,RotateColorsX<Variation,Red>,3000>,TrFade<500>>,EFFECT_BOOT>>>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<RotateColorsX<Variation,Rgb<255,50,50>>,Int<100>>,TrFade<1200>>,EFFECT_RETRACTION>>>(),
  30. "Survivor: Cal bladestyle"},
  31. };
  32. BladeConfig blades[] = {
  33. { 0, WS281XBladePtr<122, bladePin, Color8::GRB, PowerPINS<bladePowerPin4, bladePowerPin5> >(),
  34. WS281XBladePtr<1, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin6> >()
  35. , CONFIGARRAY(presets) },
  36. };
  37. #endif
  38.  
  39. #ifdef CONFIG_BUTTONS
  40. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  41. #endif
  42.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement