Advertisement
Cochese3

MHS Build Config v1

Jul 29th, 2021
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. #ifdef CONFIG_TOP
  2. #include "proffieboard_v2_config.h"
  3. #define NUM_BLADES 3
  4. #define NUM_BUTTONS 1
  5. #define VOLUME 1000
  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 SAVE_VOLUME
  13. #define SAVE_STATE
  14. #define COLOR_CHANGE_DIRECT
  15. #define DISABLE_DIAGNOSTIC_COMMANDS
  16. #define IDLE_OFF_TIME 60 * 10 * 1000
  17. #define NO_REPEAT_RANDOM
  18. #define BC_STAB_ON
  19. #define BC_THRUST_ON
  20. #define BC_TWIST_ON
  21. #define BC_TWIST_OFF
  22. #define BC_FORCE_PUSH
  23. #define BC_GESTURE_AUTO_BATTLE_MODE
  24. #define ENABLE_AUTO_SWING_BLAST
  25. #define SHARED_POWER_PINS
  26. #endif
  27.  
  28. #ifdef CONFIG_PROP
  29. #include "../props/saber_BCon_buttons.h"
  30. #endif
  31.  
  32. #ifdef CONFIG_PRESETS
  33.  
  34. Preset presets[] = {
  35.  
  36. { "TheReturn;common", "tracks/rotj_sarlacc.wav",
  37. StylePtr<Layers<AudioFlicker<RotateColorsX<Variation,Green>,RotateColorsX<Variation,Rgb<0,128,0>>>,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<Red,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<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<50>,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>>>(),
  38. StylePtr<BrownNoiseFlicker<Green,White,50>>(),
  39. StylePtr<RandomFlicker<White,Black>>(),
  40. "ROTJ Luke"},
  41. };
  42.  
  43. BladeConfig blades[] = {
  44. { 0,
  45. WS281XBladePtr<136, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3 > >(),
  46. WS281XBladePtr<16, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
  47. SimpleBladePtr<CreeXPE2WhiteTemplate<550>, NoLED, NoLED, NoLED, bladePowerPin6, -1, -1, -1>()
  48. , CONFIGARRAY(presets) },
  49. };
  50. #endif
  51.  
  52. #ifdef CONFIG_BUTTONS
  53. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  54. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  55. #endif
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement