Advertisement
bikerjedi

HALLOWEEN

Oct 19th, 2022
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.84 KB | None | 0 0
  1. #ifdef CONFIG_TOP
  2. #include "proffieboard_v2_config.h"
  3. #define NUM_BLADES 1
  4. #define NUM_BUTTONS 1
  5. #define VOLUME 1600
  6. const unsigned int maxLedsPerStrip = 144;
  7. #define CLASH_THRESHOLD_G 3.0
  8. #define ENABLE_AUDIO
  9. #define ENABLE_MOTION
  10. #define ENABLE_WS2811
  11. #define ENABLE_SD
  12. #define MOTION_TIMEOUT 60 * 15 * 1000
  13. #define IDLE_OFF_TIME 60 * 15 * 1000
  14. #define DISABLE_BASIC_PARSER_STYLES
  15. #define DISABLE_DIAGNOSTIC_COMMANDS
  16. #define ENABLE_ALL_EDIT_OPTIONS
  17. #define FETT263_CLASH_STRENGTH_SOUND
  18. #define FETT263_MAX_CLASH 11
  19. #define FETT263_SAY_BATTERY_PERCENT
  20. #define FETT263_QUOTE_PLAYER_START_ON
  21. #define FETT263_HOLD_BUTTON_OFF
  22. #define FETT263_LOCKUP_DELAY 200
  23. #define FETT263_BM_CLASH_DETECT 6
  24. #define FETT263_THRUST_ON
  25. #define FETT263_THRUST_ON_NO_BM
  26. #define FETT263_STAB_ON
  27. #define FETT263_STAB_ON_NO_BM
  28. #define FETT263_TWIST_OFF
  29. #define FETT263_FORCE_PUSH_ALWAYS_ON
  30. #define FETT263_FORCE_PUSH_LENGTH 5
  31. #define NO_REPEAT_RANDOM
  32. #define COLOR_CHANGE_DIRECT
  33. #endif
  34.  
  35. #ifdef CONFIG_PROP
  36. #include "../props/saber_fett263_buttons.h"
  37. #endif
  38.  
  39.  
  40. #ifdef CONFIG_PRESETS
  41.  
  42. Preset presets[] = {
  43. { "VOLTRON;common", "VOLTRON/tracks/VOLTRON.wav",
  44. 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>>>(),
  45.  
  46. "VOLTRON"
  47. },
  48.  
  49. { "Cylon;common", "Cylontracks/Battle.wav",
  50. StylePtr<Layers<
  51. 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>>>(),
  52. StylePtr<Layers<
  53. Mix<BatteryLevel,Red,Green>,
  54. TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<1200>>,EFFECT_IGNITION>,
  55. InOutTrL<TrInstant,TrInstant,Pulsing<Black,RotateColorsX<Variation,Red>,3000>>>>(),
  56. StylePtr<Layers<
  57. ColorCycle<RotateColorsX<Variation,Red>,25,100,RotateColorsX<Variation,Red>,85,1000,4000>,
  58. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<Black,Int<100>>,TrFade<1200>>,EFFECT_IGNITION>,
  59. InOutTrL<TrInstant,TrColorCycle<3000>>,
  60. TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<Red>,TrFade<1200>>,EFFECT_RETRACTION>>>(),
  61.  
  62. "CYLON"
  63. },
  64.  
  65. };
  66.  
  67. BladeConfig blades[] = {
  68. { 0, WS281XBladePtr<136, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
  69. CONFIGARRAY(presets) },
  70. };
  71. #endif
  72.  
  73. #ifdef CONFIG_BUTTONS
  74. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  75. #endif
  76.  
  77. /* Generated with Fett263 Config Helper v1.5 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement