NoSloppy

Untitled

Oct 27th, 2020
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1.  
  2. #ifdef CONFIG_TOP


  3. #include "proffieboard_v2_config.h"
  4. #define NUM_BLADES 1
  5. #define NUM_BUTTONS 2
  6. #define VOLUME 1200
  7. const unsigned int maxLedsPerStrip = 144;
  8. #define CLASH_THRESHOLD_G 2.0
  9. #define ENABLE_AUDIO


  10. #define ENABLE_MOTION
  11. #define ENABLE_WS2811
  12. #define ENABLE_SD
  13. #define COLOR_CHANGE_DIRECT
  14. #define DISABLE_DIAGNOSTIC_COMMANDS
  15. #define FETT263_BATTLE_MODE
  16. #define FETT263_LOCKUP_DELAY 200
  17. #define FETT263_STAB_ON
  18. #define MOTION_TIMEOUT 60 * 15 * 1000
  19. #define FETT263_MULTI_PHASE
  20. #endif
  21.  
  22. #ifdef CONFIG_PROP


  23. #include "../props/saber_fett263_buttons.h"


  24. #endif
  25.  
  26. #ifdef CONFIG_PRESETS
  27. Preset presets[] = {
  28.  
  29. {"Crimson_Leader", "tracks/DMD.wav",
  30.  
  31. StylePtr<Layers<HumpFlicker<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<128,0,0>>,50>,TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Blue,300>,50,1>,TrConcat<TrInstant,White,TrFade<400>>,TrFade<100>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,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,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>>,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>>>(), "Hump Red"},
  32.  
  33. };
  34. BladeConfig blades[] = {
  35. { 0, WS281XBladePtr<115, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) },
  36. };
  37. #endif
  38.  
  39. #ifdef CONFIG_BUTTONS
  40. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  41. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  42. #endif
Advertisement
Add Comment
Please, Sign In to add comment