Advertisement
Rob22976

Proffie 6.8 test config for activation light

Feb 21st, 2023 (edited)
76
0
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 2
  5. #define VOLUME 1750
  6. const unsigned int maxLedsPerStrip = 144;
  7. #define CLASH_THRESHOLD_G 4.0
  8. #define ENABLE_AUDIO
  9. #define ENABLE_MOTION
  10. #define ENABLE_WS2811
  11. #define ENABLE_SD
  12. #define COLOR_CHANGE_DIRECT
  13. #define NO_REPEAT_RANDOM
  14. #define IDLE_OFF_TIME 60*2*1000
  15. #define MOTION_TIMEOUT 60*10*1000
  16. #define SHARED_POWER_PINS
  17. #define DISABLE_DIAGNOSTIC_COMMANDS
  18. #define DISABLE_BASIC_PARSER_STYLES
  19. #define BLADE_DETECT_PIN 17
  20. #define FETT263_DUAL_MODE_SOUND
  21. #define FETT263_CLASH_STRENGTH_SOUND
  22. #define FETT263_MAX_CLASH 16
  23. #define FETT263_MULTI_PHASE
  24. #define FETT263_LOCKUP_DELAY 200
  25. #define FETT263_BM_CLASH_DETECT 6
  26. #define ENABLE_ALL_EDIT_OPTIONS
  27. #define FETT263_EDIT_MODE_MENU
  28.  
  29. #endif
  30.  
  31. #ifdef CONFIG_PROP
  32. #include "../props/saber_fett263_buttons.h"
  33. #endif
  34.  
  35.  
  36. #ifdef CONFIG_PRESETS
  37.  
  38. Preset presets[] = {
  39. { "01TeensySF;common", "",
  40. /* copyright Fett263 Rotoscope (Primary Blade) OS6 Style
  41. https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope
  42. OS6.7 v4.021
  43. Single Style
  44. Base Style: Hyper Responsive Rotoscope (Original Trilogy)
  45.  
  46. Base Color: Rgb<0,255,0> (0)
  47.  
  48. --Effects Included--
  49. Ignition Effect: SparkTip Ignition
  50. Retraction Effect: Standard Retraction
  51. Lockup Effect: Responsive Lockup, Begin Effect: Full Blade Flash, End Effect: Full Blade Absorb
  52. LightningBlock Effect: Responsive Lightning Block
  53. Drag Effect: Intensity Sparking Drag
  54. Melt Effect: Intensity Melt
  55. Blast Effect: Blast Wave (Random)
  56. Clash Effect: Flash on Clash (Full Blade)
  57. Battery Level: % Blade (Green to Red)
  58. */
  59. StylePtr<Layers<Mix<HoldPeakF<SwingSpeed<250>,Scale<SwingAcceleration<100>,Int<50>,Int<500>>,Scale<SwingAcceleration<>,Int<20000>,Int<10000>>>,RandomFlicker<StripesX<Int<15000>,Scale<HoldPeakF<SwingSpeed<200>,Scale<SwingAcceleration<100>,Int<50>,Int<300>>,Scale<SwingAcceleration<100>,Int<24000>,Int<16000>>>,Int<-3200>,Int<-200>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>,Mix<Int<19276>,Black,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<0,255,0>>>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,255,255>>,Scale<EffectRandomF<EFFECT_BLAST>,Int<100>,Int<400>>,Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Scale<EffectPosition<EFFECT_BLAST>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,TransitionEffectL<TrConcat<TrJoin<TrDelay<30>,TrInstant>,RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,TrFade<300>>,EFFECT_CLASH>,LockupTrL<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AudioFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Int<200>>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,TrFade<400>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Blue>,50,1>,TrConcat<TrInstant,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL<AlphaL<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,255,255>>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrConcat<TrJoin<TrDelay<4000>,TrWipeIn<200>>,AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,255,255>>,Int<300>>,SmoothStep<IntArg<DRAG_SIZE_ARG,28000>,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Remap<Scale<RampF,Int<65536>,Int<0>>,StaticFire<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,24,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,28000>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeSparkTipX<RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,IgnitionTime<300>>,TrWipeInX<RetractionTime<0>>,Black>,TransitionEffectL<TrConcat<TrJoin<TrDelay<2000>,TrWipe<1000>>,AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<BatteryLevel,Int<-10>>>,TrWipeIn<1000>>,EFFECT_BATTERY_LEVEL>>>(),
  60.  
  61. /* copyright Fett263 (Accent LED / PCB) OS6 Style
  62. https://fett263.com/fett263-proffieOS6-style-library.html#BlankBlade
  63. OS6.7 v4.021
  64. Single Style
  65. On Behavior: Solid Color
  66. Off Behavior: Off
  67.  
  68. Base Color: Rgb<255,255,255> (0)
  69.  
  70. --Effects Included--
  71. Ignition Effect: Instant
  72. Retraction Effect: Instant
  73. */
  74. StylePtr<Layers<RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>,InOutTrL<TrInstant,TrInstant,RgbArg<BASE_COLOR_ARG,Rgb<255,255,255>>>>>(),},
  75.  
  76. };
  77.  
  78.  BladeConfig blades[] = {
  79.  { 0, WS281XBladePtr<133, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
  80.     SimpleBladePtr<CreeXPE2WhiteTemplate<550>, NoLED, NoLED, NoLED, bladePowerPin1, -1, -1, -1>(), CONFIGARRAY(presets) },
  81.    
  82. };
  83.  
  84. #endif
  85.  
  86. #ifdef CONFIG_BUTTONS
  87. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  88. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  89. #endif
  90.  
  91.  /* Generated with Fett263 Config Helper v1.5 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement