Guest User

Untitled

a guest
Oct 28th, 2023
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.62 KB | None | 0 0
  1. // ProffieOS7 Config File
  2. #ifdef CONFIG_TOP
  3. #include "proffieboard_v2_config.h"
  4. #define NUM_BLADES 6
  5. #define NUM_BUTTONS 2
  6. const unsigned int maxLedsPerStrip = 144;
  7. #define EXTRA_COLOR_BUFFER_SPACE 60
  8. #define VOLUME 2000
  9. #define CLASH_THRESHOLD_G 2
  10. #define ENABLE_AUDIO
  11. #define ENABLE_MOTION
  12. #define ENABLE_WS2811
  13. #define ENABLE_SD
  14. #define MOTION_TIMEOUT 60 * 5 * 1000
  15. #define IDLE_OFF_TIME 60 * 5 * 1000
  16. #define DISABLE_BASIC_PARSER_STYLES
  17. #define DISABLE_DIAGNOSTIC_COMMANDS
  18. #define ENABLE_ALL_EDIT_OPTIONS
  19. #define NO_REPEAT_RANDOM
  20. #define COLOR_CHANGE_DIRECT
  21. #define FETT263_SAY_COLOR_LIST_CC
  22. #define FETT263_SAY_BATTERY_PERCENT
  23. #define FETT263_LOCKUP_DELAY 200
  24. #define FETT263_BM_CLASH_DETECT 6
  25. #define FETT263_TWIST_ON
  26. #define FETT263_TWIST_ON_NO_BM
  27. #define FETT263_THRUST_ON
  28. #define FETT263_THRUST_ON_NO_BM
  29. #define FETT263_TWIST_OFF
  30. #endif
  31.  
  32. #ifdef CONFIG_PROP
  33. #include "../props/saber_fett263_buttons.h"
  34. #endif
  35.  
  36.  
  37. #ifdef CONFIG_PRESETS
  38.  
  39. Preset presets[] = {
  40. { "TFA;common", "font0/tracks/track.wav",
  41. /* copyright Fett263 KyloRen (Primary Blade) OS7 Style
  42. https://fett263.com/fett263-proffieOS7-style-library.html#KyloRen
  43. OS7.12 v1.017-p
  44. Single Style
  45. Base Style: Kylo Ren Unstable (Film Based)
  46.  
  47. Base Color: BaseColorArg (0)
  48.  
  49. --Effects Included--
  50. Preon Effect: Sparking [Color: PreonColorArg]
  51. Ignition Effect: SparkTip Ignition [Color: IgnitionColorArg]
  52. Retraction Effect: SparkTip Retraction [Color: RetractionColorArg]
  53. Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb [Color: LockupColorArg]
  54. LightningBlock Effect: Responsive Lightning Block [Color: LBColorArg]
  55. Drag Effect: Intensity Sparking Drag [Color: DragColorArg]
  56. Melt Effect: Intensity Melt [Color: StabColorArg]
  57. Stab Effect: Sparking Stab [Color: StabColorArg]
  58. Blast Effect: Responsive Blast Fade (Sound Based) [Color: BlastColorArg]
  59. Clash Effect: Real Clash V3 [Color: ClashColorArg]
  60. Emitter Effect: Unstable Flare with Random Pulse [Color: EmitterColorArg]
  61. */
  62. StylePtr<Layers<StaticFire<BrownNoiseFlicker<RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>,RandomPerLEDFlicker<Mix<Int<3213>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>>,300>,Mix<Int<10280>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,0,6,10,1000,2>,TransitionLoopL<TrConcat<TrDelayX<Scale<SlowNoise<Int<1000>>,Int<300>,Int<3000>>>,AlphaL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Int<0>>,TrSparkX<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Scale<NoisySoundLevel,Int<200>,Int<600>>,Int<250>,Int<0>>>>,AlphaL<RandomPerLEDFlickerL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>>,SmoothStep<Scale<NoisySoundLevel,IntArg<EMITTER_SIZE_ARG,2000>,Sum<IntArg<EMITTER_SIZE_ARG,2000>,Int<6000>>>,Int<-6000>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<WavLen<>>,TrWipeIn<200>>,AlphaL<RandomPerLEDFlickerL<RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>,SmoothStep<IntArg<MELT_SIZE_ARG,29086>,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,TransitionEffectL<TrConcat<TrInstant,AlphaMixL<Bump<Scale<BladeAngle<>,Int<28000>,Int<000>>,Scale<WavLen<>,Int<9000>,Int<13000>>>,RgbArg<BLAST_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<16384>,Black,RgbArg<BLAST_COLOR_ARG,Rgb<255,255,255>>>>,TrFade<300>>,EFFECT_BLAST>,AlphaL<TransitionEffectL<TrSelect<Scale<ClashImpactF<>,Int<0>,Int<4>>,TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-10000>>>,Scale<ClashImpactF<>,Int<8000>,Int<12000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<600>>>>,TrWaveX<RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Int<100>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-10000>>>>,TrSparkX<Remap<CenterDistF<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-10000>>>>,Stripes<1500,-3000,RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<16384>,Black,RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>>>>,Int<100>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-10000>>>>,TrConcat<TrInstant,RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,TrConcat<TrInstant,RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,TrFadeX<Scale<ClashImpactF<>,Int<300>,Int<500>>>>>,EFFECT_CLASH>,Scale<ClashImpactF<>,Int<24000>,Int<32768>>>,LockupTrL<TransitionEffect<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>,BrownNoiseFlickerL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Int<200>>,StripesX<Int<1800>,Scale<NoisySoundLevel,Int<-3500>,Int<-5000>>,Mix<Int<6425>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<12850>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<10280>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-10000>>>,Int<13000>>>,TrJoin<TrDelay<8000>,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrJoin<TrDelay<50>,TrInstant>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16340>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<60000>>>>>,TrFade<300>>,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,29086>,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,29086>,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,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>,Mix<TwistAngle<>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>,RotateColorsX<Int<3000>,Mix<Int<12000>,Black,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>>,0,3,5,3000,10>>,SmoothStep<IntArg<MELT_SIZE_ARG,29086>,Int<4000>>>,TrConcat<TrWipeIn<100>,AlphaL<RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,SmoothStep<IntArg<MELT_SIZE_ARG,29086>,Int<4000>>>,TrJoin<TrDelay<4000>,TrFade<300>>,AlphaL<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>,SmoothStep<IntArg<MELT_SIZE_ARG,29086>,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeSparkTipX<RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<IgnitionTime<300>,Mult<IntArg<IGNITION_OPTION2_ARG,10992>,Int<98304>>>>,TrWipeInSparkTipX<RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<RetractionTime<0>,Mult<IntArg<RETRACTION_OPTION2_ARG,10992>,Int<98304>>>>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<PREON_COLOR_ARG,Rgb<255,14,0>>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,934>,Sum<IntArg<PREON_SIZE_ARG,934>,Int<4000>>>,Int<-2000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>>>(),
  63.  
  64. /* copyright Fett263 KyloRen (Quillion / Secondary Blade) OS7 Style
  65. https://fett263.com/fett263-proffieOS7-style-library.html#KyloRen
  66. OS7.12 v1.017-p
  67. Single Style
  68. Base Style: Kylo Ren Unstable (Film Based)
  69.  
  70. Base Color: BaseColorArg (0)
  71.  
  72. --Effects Included--
  73. Preon Effect: Sparking [Color: PreonColorArg]
  74. Ignition Delay: Standard Delay
  75. Ignition Effect: SparkTip Ignition [Color: IgnitionColorArg]
  76. Retraction Delay: Standard Delay
  77. Retraction Effect: SparkTip Retraction [Color: RetractionColorArg]
  78. Emitter Effect: Unstable Flare with Random Pulse [Color: EmitterColorArg]
  79. */
  80. StylePtr<IgnitionDelayX<Int<500>,RetractionDelayX<Int<500>,Layers<StaticFire<BrownNoiseFlicker<RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>,RandomPerLEDFlicker<Mix<Int<3213>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>>,300>,Mix<Int<10280>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,0,6,10,1000,2>,TransitionLoopL<TrConcat<TrDelayX<Scale<SlowNoise<Int<1000>>,Int<300>,Int<3000>>>,AlphaL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Int<0>>,TrSparkX<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Scale<NoisySoundLevel,Int<200>,Int<600>>,Int<250>,Int<0>>>>,AlphaL<RandomPerLEDFlickerL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>>,SmoothStep<Scale<NoisySoundLevel,IntArg<EMITTER_SIZE_ARG,2000>,Sum<IntArg<EMITTER_SIZE_ARG,2000>,Int<6000>>>,Int<-6000>>>,InOutTrL<TrWipeSparkTipX<RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<IgnitionTime<300>,Mult<IntArg<IGNITION_OPTION2_ARG,10992>,Int<98304>>>>,TrWipeInSparkTipX<RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<RetractionTime<0>,Mult<IntArg<RETRACTION_OPTION2_ARG,10992>,Int<98304>>>>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<PREON_COLOR_ARG,Rgb<255,14,0>>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,2000>,Sum<IntArg<PREON_SIZE_ARG,2000>,Int<4000>>>,Int<-2000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>>>>>()StylePtr<IgnitionDelayX<Int<500>,RetractionDelayX<Int<500>,Layers<StaticFire<BrownNoiseFlicker<RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>,RandomPerLEDFlicker<Mix<Int<3213>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>>,300>,Mix<Int<10280>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,0,6,10,1000,2>,TransitionLoopL<TrConcat<TrDelayX<Scale<SlowNoise<Int<1000>>,Int<300>,Int<3000>>>,AlphaL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Int<0>>,TrSparkX<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Scale<NoisySoundLevel,Int<200>,Int<600>>,Int<250>,Int<0>>>>,AlphaL<RandomPerLEDFlickerL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>>,SmoothStep<Scale<NoisySoundLevel,IntArg<EMITTER_SIZE_ARG,2000>,Sum<IntArg<EMITTER_SIZE_ARG,2000>,Int<6000>>>,Int<-6000>>>,InOutTrL<TrWipeSparkTipX<RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<IgnitionTime<300>,Mult<IntArg<IGNITION_OPTION2_ARG,10992>,Int<98304>>>>,TrWipeInSparkTipX<RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<RetractionTime<0>,Mult<IntArg<RETRACTION_OPTION2_ARG,10992>,Int<98304>>>>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<PREON_COLOR_ARG,Rgb<255,14,0>>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,2000>,Sum<IntArg<PREON_SIZE_ARG,2000>,Int<4000>>>,Int<-2000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>>>>>(),
  81. ,
  82.  
  83. /* copyright Fett263 KyloRen (Quillion / Secondary Blade) OS7 Style
  84. https://fett263.com/fett263-proffieOS7-style-library.html#KyloRen
  85. OS7.12 v1.017-p
  86. Single Style
  87. Base Style: Kylo Ren Unstable (Film Based)
  88.  
  89. Base Color: BaseColorArg (0)
  90.  
  91. --Effects Included--
  92. Preon Effect: Sparking [Color: PreonColorArg]
  93. Ignition Delay: Standard Delay
  94. Ignition Effect: SparkTip Ignition [Color: IgnitionColorArg]
  95. Retraction Delay: Standard Delay
  96. Retraction Effect: SparkTip Retraction [Color: RetractionColorArg]
  97. Emitter Effect: Unstable Flare with Random Pulse [Color: EmitterColorArg]
  98. */
  99. StylePtr<IgnitionDelayX<Int<500>,RetractionDelayX<Int<500>,Layers<StaticFire<BrownNoiseFlicker<RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>,RandomPerLEDFlicker<Mix<Int<3213>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>>,300>,Mix<Int<10280>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,0,6,10,1000,2>,TransitionLoopL<TrConcat<TrDelayX<Scale<SlowNoise<Int<1000>>,Int<300>,Int<3000>>>,AlphaL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Int<0>>,TrSparkX<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Scale<NoisySoundLevel,Int<200>,Int<600>>,Int<250>,Int<0>>>>,AlphaL<RandomPerLEDFlickerL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>>,SmoothStep<Scale<NoisySoundLevel,IntArg<EMITTER_SIZE_ARG,2000>,Sum<IntArg<EMITTER_SIZE_ARG,2000>,Int<6000>>>,Int<-6000>>>,InOutTrL<TrWipeSparkTipX<RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<IgnitionTime<300>,Mult<IntArg<IGNITION_OPTION2_ARG,10992>,Int<98304>>>>,TrWipeInSparkTipX<RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<RetractionTime<0>,Mult<IntArg<RETRACTION_OPTION2_ARG,10992>,Int<98304>>>>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<PREON_COLOR_ARG,Rgb<255,14,0>>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,2000>,Sum<IntArg<PREON_SIZE_ARG,2000>,Int<4000>>>,Int<-2000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>>>>>()StylePtr<IgnitionDelayX<Int<500>,RetractionDelayX<Int<500>,Layers<StaticFire<BrownNoiseFlicker<RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>,RandomPerLEDFlicker<Mix<Int<3213>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>>,300>,Mix<Int<10280>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,0,6,10,1000,2>,TransitionLoopL<TrConcat<TrDelayX<Scale<SlowNoise<Int<1000>>,Int<300>,Int<3000>>>,AlphaL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Int<0>>,TrSparkX<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>,Scale<NoisySoundLevel,Int<200>,Int<600>>,Int<250>,Int<0>>>>,AlphaL<RandomPerLEDFlickerL<RgbArg<EMITTER_COLOR_ARG,Rgb<255,68,0>>>,SmoothStep<Scale<NoisySoundLevel,IntArg<EMITTER_SIZE_ARG,2000>,Sum<IntArg<EMITTER_SIZE_ARG,2000>,Int<6000>>>,Int<-6000>>>,InOutTrL<TrWipeSparkTipX<RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<IgnitionTime<300>,Mult<IntArg<IGNITION_OPTION2_ARG,10992>,Int<98304>>>>,TrWipeInSparkTipX<RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<RetractionTime<0>,Mult<IntArg<RETRACTION_OPTION2_ARG,10992>,Int<98304>>>>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<PREON_COLOR_ARG,Rgb<255,14,0>>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,2000>,Sum<IntArg<PREON_SIZE_ARG,2000>,Int<4000>>>,Int<-2000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>>>>>(),
  100. ,
  101.  
  102. /* copyright Fett263 KyloRen (Crystal Chamber) OS7 Style
  103. https://fett263.com/fett263-proffieOS7-style-library.html#KyloRen
  104. OS7.12 v1.017-p
  105. Single Style
  106. Base Style: Kylo Ren Unstable (Film Based)
  107.  
  108. Off Behavior: Off [Color: OffColorArg]
  109.  
  110. Base Color: BaseColorArg (0)
  111.  
  112. --Effects Included--
  113. Preon Effect: Sparking [Color: PreonColorArg]
  114. Ignition Effect: Instant [Color: IgnitionColorArg]
  115. Retraction Effect: Instant [Color: RetractionColorArg]
  116. */
  117. StylePtr<Layers<StaticFire<BrownNoiseFlicker<RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>,RandomPerLEDFlicker<Mix<Int<3213>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,Mix<Int<7710>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>>,300>,Mix<Int<10280>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>>,0,6,10,1000,2>,InOutTrL<TrInstant,TrInstant,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<PREON_COLOR_ARG,Rgb<255,14,0>>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,32768>,Sum<IntArg<PREON_SIZE_ARG,32768>,Int<4000>>>,Int<-2000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>>>(),
  118.  
  119. /* copyright Fett263 Simple (Accent LED / PCB) OS7 Style
  120. https://fett263.com/fett263-proffieOS7-style-library.html#Simple
  121. OS7.12 v1.017-p
  122. Single Style
  123. Base Style: Static
  124.  
  125. Off Behavior: Off [Color: OffColorArg]
  126.  
  127. Base Color: BaseColorArg (0)
  128.  
  129. --Effects Included--
  130. Ignition Effect: Instant [Color: IgnitionColorArg]
  131. Retraction Effect: Instant [Color: RetractionColorArg]
  132. */
  133. StylePtr<Layers<RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>,InOutTrL<TrInstant,TrInstant,Black>>>(),
  134.  
  135. /* copyright Fett263 Simple (Accent LED / PCB) OS7 Style
  136. https://fett263.com/fett263-proffieOS7-style-library.html#Simple
  137. OS7.12 v1.017-p
  138. Single Style
  139. Base Style: Static
  140.  
  141. Off Behavior: Off [Color: OffColorArg]
  142.  
  143. Base Color: BaseColorArg (0)
  144.  
  145. --Effects Included--
  146. Ignition Effect: Instant [Color: IgnitionColorArg]
  147. Retraction Effect: Instant [Color: RetractionColorArg]
  148. */
  149. StylePtr<Layers<RgbArg<BASE_COLOR_ARG,Rgb<255,14,0>>,InOutTrL<TrInstant,TrInstant,Black>>>(),
  150.  
  151. "preset0"
  152. },
  153.  
  154. };
  155.  
  156. BladeConfig blades[] = {
  157. { 0, WS281XBladePtr<130, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3, bladePowerPin4> >(),
  158. WS281XBladePtr<30, blade4Pin, Color8::GRB>(),
  159. WS281XBladePtr<9, blade3Pin, Color8::GRB>(),
  160. WS281XBladePtr<8, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin6> >(),
  161. SimpleBladePtr<CH1LED, NoLED, NoLED, NoLED, bladePowerPin1, -1, -1, -1>(),
  162. SimpleBladePtr<CH3LED, NoLED, NoLED, NoLED, bladePowerPin5, -1, -1, -1>(),
  163. CONFIGARRAY(presets) },
  164. };
  165.  
  166. #endif
  167.  
  168. #ifdef CONFIG_BUTTONS
  169. Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
  170. Button AuxButton(BUTTON_AUX, auxPin, "aux");
  171. #endif
  172.  
  173. /* Generated with Fett263 Config Helper v3.0 */
Add Comment
Please, Sign In to add comment