I guess what im trying to ask is how do i apply the crystal chamber code to my config file? Where does it go?
And I am telling you: how to add your crystal chamber code, depends on how your crystal chamber is wired compared to your main blade. Because there are other code that needs to be added and or changed for your crystal chamber code to compile. So post your config and I can show you.
you ha two blades:
#define NUM_BLADES 2
and here too:
BladeConfig blades[] = {
{ 0, WS281XBladePtr<128, bladePin, Color8::GRB, PowerPINS<bladePowerPin2> >(), // <-- this is your main blade
WS281XBladePtr<8, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin5> >() // <-- this "a secondary blade" or many "blades" connected together (accent leds, button led, a motor, your crystal chamber, anything that lights-up or rotates like a motor is considered a blade in ProffieOS)
, CONFIGARRAY(presets) },
};
So you have 8 leds connected in series and controlled via blade2Pin. I do not know your saber. Any idea what could they be ? Does your config compiles ? I would assume it doesnât because in each presets you only have one blade style (while you have two blades declared, so ProffieOS is expecting 2 blade styles).
What you should have is this:
for example (I picked it because it is the shortest code
{ "Scavengers", "tracks/FinalSteps.wav",
StylePtr<InOutTr<Layers<Mix<SwingSpeed<400>, AudioFlicker<RotateColorsX<Variation, Rgb<255, 160, 0>>, RotateColorsX<Variation, Rgb<84, 60, 0>>>, Mix<SwingSpeed<600>, RotateColorsX<Variation, Rgb<255, 160, 0>>, RotateColorsX<Variation, BlanchedAlmond>>>, TransitionEffectL<TrConcat<TrInstant, AlphaL<AudioFlicker<Blue, SteelBlue>, Bump<Int<0>, Int<9000>>>, TrFade<600>>, EFFECT_IGNITION>, ResponsiveBlastL<White>, ResponsiveClashL<White, TrInstant, TrFade<400>>, ResponsiveStabL<Orange, TrWipeIn<600>, TrWipe<600>>, TransitionEffectL<TrConcat<TrInstant, BrownNoiseFlickerL<AlphaL<White, Int<16000>>, Int<50>>, TrSmoothFade<600>>, EFFECT_LOCKUP_END>, ResponsiveLockupL<Strobe<White, BrownNoiseFlicker<White, Red, 300>, 50, 1>, TrConcat<TrInstant, White, TrFade<200>>, TrFade<400>>, ResponsiveDragL<BrownNoiseFlickerL<White, Int<300>>, TrWipeIn<400>, TrFade<400>>, 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>>>, ResponsiveMeltL<Mix<TwistAngle<>, OrangeRed, Orange>, TrWipeIn<600>, TrSmoothFade<600>>>, TrWipe<150>, TrWipeIn<300>, Black>>()
StylePtr< ... something (probably your crystal chamber code here could work) ... >(),
},
I would suggest to shrink your config down to one preset only, fix the small config, and when it compiles, add the other presets and apply the same fix.
Sorry, I hope I wasnât too harsh, English is not my first language.
Make a small config, try to compile it.
If it doesnât compile, post the small config as text & post the error codes as text as well (add the 3 back ticks before and after your small config and before and after your error code(s) like this (you can copy paste the back ticks and your config text/error code text):
```
the text of your config here
```
```
the text of your error code(s) here
```
And I or another will take a look and help you to make it work.
As of 5 minutes ago, I got everything to work smoothly. Every font now lights up the crystal chamber in the correct color as intened. I want to thank the 3 of you for helping me get everything working properly. Iâm going to attach my updated config file just incase you wanted to take a peak.
2025proffie.h (108.7 KB)
You are very welcome. I would appreciate if you could mark the most appropriate answer as âSolutionâ for other users to find.
Will do! Your most recent post is also a solution, just for a different problem. (Cal Kestis Crystal Chamber)