Advertisement
NoSloppy

Untitled

Jan 30th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. #ifdef CONFIG_TOP
  2. #include "proffieboard_v2_config.h"
  3. #define NUM_BLADES 1
  4. #define NUM_BUTTONS 2
  5. #define VOLUME 2000
  6. const unsigned int maxLedsPerStrip = 144;
  7. #define CLASH_THRESHOLD_G 2.0
  8. #define ENABLE_AUDIO
  9. #define ENABLE_MOTION
  10. #define ENABLE_WS2811
  11. #define ENABLE_SD
  12. #define COLOR_CHANGE_DIRECT
  13. #define DISABLE_DIAGNOSTIC_COMMANDS
  14. #endif
  15.  
  16. #ifdef CONFIG_PROP
  17. #include "../props/saber_fett263_buttons.h"
  18. #endif
  19.  
  20.  
  21. #ifdef CONFIG_PRESETS
  22.  
  23. Preset presets[] = {
  24.  
  25. { "F1Racer", "tracks/track1.wav",
  26.  
  27. StylePtr<Layers<
  28. Layers<
  29. RotateColorsX<Variation,Rgb<180,130,0>>,
  30. AudioFlickerL<RotateColorsX<Variation,Rgb<90,65,0>>>>,
  31. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  32. ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,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>>>,
  33. 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>>>,
  34. ResponsiveStabL<Red>,
  35. ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
  36. ResponsiveClashL<White,TrInstant,TrFade<400>>,
  37. LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
  38. LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
  39. InOutTrL<TrWipe<300>,TrWipeIn<500>>>>() }
  40.  
  41. };
  42.  
  43. BladeConfig blades[] = {
  44. { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) },
  45. };
  46. #endif
  47.  
  48.  
  49.  
  50.  
  51. #ifdef CONFIG_BUTTONS
  52. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  53. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  54.  
  55. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement