#ifdef CONFIG_TOP #include "proffieboard_v2_config.h" #define NUM_BLADES 2 #define NUM_BUTTONS 1 #define VOLUME 1800 const unsigned int maxLedsPerStrip = 144; #define CLASH_THRESHOLD_G 4.5 #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SD #define ENABLE_SSD1306 #define COLOR_CHANGE_DIRECT #define DISABLE_DIAGNOSTIC_COMMANDS #define NO_REPEAT_RANDOM #define FETT263_THRUST_ON #define FETT263_SWING_ON #define FETT263_SWING_ON_SPEED 300 #define FETT263_TWIST_OFF #define FETT263_TWIST_ON #define MOTION_TIMEOUT 60 * 15 * 1000 #define IDLE_OFF_TIME 5 * 60 * 1000 #define FETT263_MULTI_PHASE #define FETT263_EDIT_MODE_MENU #define ENABLE_ALL_EDIT_OPTIONS #define KEEP_SAVEFILES_WHEN_PROGRAMMING #define FETT263_CLASH_STRENGTH_SOUND #define FETT263_DUAL_MODE_SOUND #define DISABLE_BASIC_PARSER_STYLES #define FETT263_MAX_CLASH 16 #define FETT263_BM_CLASH_DETECT 7 #define FETT263_SAY_BATTERY_PERCENT #define FETT263_SAY_COLOR_LIST #define FETT263_SAY_COLOR_LIST_CC //#define FETT263_SAVE_CHOREOGRAPHY #endif #ifdef CONFIG_PROP #include "../props/saber_fett263_buttons.h" #endif #ifdef CONFIG_PRESETS Preset presets[] = { { "Father;common", "Father/tracks/father_rotj.wav", StylePtr>,RotateColorsX>>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,TrWipe<600>>,ResponsiveBlastL,Scale,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>>,ResponsiveDragL>,TrWipeIn<400>,TrFade<400>>,ResponsiveMeltL,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,InOutTrL,TrWipeIn<800>,Black>,TransitionEffectL,Int<1>>>,TrDelay<50>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<35>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<30>>,EFFECT_PREON>>>()}, { "Esb_Graflex,common", "Esb_Graflex/tracks/esb_graflex.wav", StylePtr>,RotateColorsX>>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,TrWipe<600>>,ResponsiveBlastL,Scale,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>>,ResponsiveDragL>,TrWipeIn<400>,TrFade<400>>,ResponsiveMeltL,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,InOutTrL,TrWipeIn<800>,Black>,TransitionEffectL,Int<1>>>,TrDelay<50>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<35>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<30>>,EFFECT_PREON>>>()}, { "dark_saber;common", "dark_saber/tracks/dark_saber.wav", StylePtr>,RotateColorsX>>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,TrWipe<600>>,ResponsiveBlastL,Scale,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>>,ResponsiveDragL>,TrWipeIn<400>,TrFade<400>>,ResponsiveMeltL,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,InOutTrL,TrWipeIn<800>,Black>,TransitionEffectL,Int<1>>>,TrDelay<50>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<35>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<30>>,EFFECT_PREON>>>()}, { "Thanos;common", "Thanos/tracks/avenger.wav", StylePtr,Rgb<25,25,40>,ColorChange,Rgb<130,130,180>,Rgb<95,0,210>,Blue,Red,DarkOrange,Green,Yellow,Mix,Rgb<95,0,210>,Blue,Red,DarkOrange,Green,Yellow>>,Rgb<50,50,75>>,AlphaL,Rgb<130,130,180>,Rgb<95,0,210>,Blue,Red,DarkOrange,Green,Yellow,Mix,Rgb<95,0,210>,Blue,Red,DarkOrange,Green,Yellow>>,SmoothStep,Int<-6000>>>,TransitionEffectL,Rgb<95,0,210>,Blue,Red,DarkOrange,Green,Yellow,White>,Int<400>,Int<100>,Int<400>,Int<32768>>,EFFECT_CHANGE>,LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,TrWipe<600>>,ResponsiveBlastL,Scale,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Red,Orange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL,TrWipeIn<1800>,Black>,TransitionEffectL,Int<400>,Int<200>,Int<300>,Int<32768>>,AlphaL,Int<1000>>,SmoothStep,Int<-3000>>>,TrDelay<1000>,AlphaL,Int<1000>>,SmoothStep,Int<-3000>>>,TrWaveX,Int<200>,Int<300>,Int<32768>>,AlphaL,Blue>,Int<1000>>,SmoothStep,Int<-3000>>>,TrDelay<800>,AlphaL>,Int<1000>>,SmoothStep,Int<-3000>>>,TrWaveX,Int<200>,Int<350>,Int<32768>>,AlphaL,Red>,Int<800>>,SmoothStep,Int<-3000>>>,TrDelay<800>,AlphaL>,Int<800>>,SmoothStep,Int<-3000>>>,TrWaveX,Int<400>,Int<350>,Int<32768>>,AlphaL,DarkOrange>,Int<700>>,SmoothStep,Int<-3000>>>,TrDelay<700>,AlphaL>,Int<700>>,SmoothStep,Int<-3000>>>,TrWaveX,Int<400>,Int<300>,Int<32768>>,AlphaL,DarkOrange,Green>,Int<600>>,SmoothStep,Int<-3000>>>,TrDelay<700>,AlphaL,DarkOrange>,Int<600>>,SmoothStep,Int<-3000>>>,TrWaveX,Int<400>,Int<300>,Int<32768>>,AlphaL,DarkOrange,Green,Yellow>,Int<400>>,SmoothStep,Int<-3000>>>,TrDelay<600>,AlphaL,DarkOrange,Green>,Int<500>>,SmoothStep,Int<-3000>>>,TrDelay<1250>>,EFFECT_PREON>>>()}, { "Rescue;common", "Rescue/tracks/Rescue.wav", StylePtr>,RotateColorsX>>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,TrWipe<600>>,ResponsiveBlastL,Scale,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>>,ResponsiveDragL>,TrWipeIn<400>,TrFade<400>>,ResponsiveMeltL,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,InOutTrL,TrWipeIn<800>,Black>,TransitionEffectL,Int<1>>>,TrDelay<50>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<35>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<30>>,EFFECT_PREON>>>()}, { "Awaken,common", "Awaken/tracks/generic.wav", StylePtr>,StripesX,Int<3000>,Int<6000>>,Scale,Int<-50>,Int<-100>>,StripesX,Int<1000>,Int<3000>>,Scale,Int<25>,Int<80>>,Pulsing>,RotateColorsX,3000>,Mix>,RotateColorsX>,RotateColorsX>>>,RotateColorsX>,Pulsing>,StripesX,Int<2000>,Int<4000>>,Sin,Int<25>,Int<75>>,Mix>,RotateColorsX,RotateColorsX>>,RotateColorsX>>,2000>,Pulsing>,RotateColorsX>,3000>>,StripesX,Int<3000>,Int<6000>>,Scale,Int<-50>,Int<-100>>,StripesX,Int<1000>,Int<3000>>,Scale,Int<25>,Int<80>>,Pulsing>,RotateColorsX>,3000>,Mix>,RotateColorsX>,RotateColorsX>>>,RotateColorsX>,Pulsing>,StripesX,Int<2000>,Int<4000>>,Sin,Int<25>,Int<75>>,Mix>,RotateColorsX,RotateColorsX>>,RotateColorsX>>,2000>,Pulsing>,RotateColorsX>,3000>>>, //Base lava ^lamp style, has a very subtle dim 25 times a minute AlphaL,Int<3000>,Int<6000>>,Scale,Int<60>,Int<140>>,StripesX,Int<1000>,Int<3000>>,Scale,Int<-25>,Int<-80>>,Pulsing>,RotateColorsX,RotateColorsX>,RotateColorsX>,4000>,Mix>,RotateColorsX,Black>>,RotateColorsX>,Pulsing>,StripesX,Int<2000>,Int<4000>>,Sin,Int<-25>,Int<-75>>,Mix>,RotateColorsX,RotateColorsX>>,RotateColorsX>>,2000>,Pulsing>,Black,3000>>,Int<10000>>, //Underlying lava lamp layer AlphaL,RotateColorsX,RotateColorsX,RotateColorsX>>>,Scale,Int<0>,Int<32768>>>, //Swing effect, fades from red at slow swings to dark orange at slightly harder swings AlphaL,RotateColorsX>,Pulsing>,Black,800>>,Scale,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>>, //Hard swing effect, hard swings cause dark orange to ripple up the blade LockupTrL>,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>, AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,TrWaveX,Int<100>,Int<400>,Scale,Scale,Int<4000>,Int<26000>>,Int<6000>>>>,SaberBase::LOCKUP_NORMAL>, //Responsive lockup ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>, //Responsive lightning block AlphaL>,SmoothStep>,Int<1750>,Int<3750>>,Int<-4000>>>, //Sparking emitter flare ResponsiveStabL>, //Responsive stab EffectSequence,Scale,Int<100>,Int<400>>,Int<400>>,LocalizedClashL,ResponsiveBlastWaveL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,BlastL,ResponsiveBlastFadeL,Int<6000>,Int<12000>>,Scale,Int<400>,Int<100>>>,ResponsiveBlastL,Int<400>,Int<100>>,Scale,Int<200>,Int<100>>,Scale,Int<400>,Int<200>>>>, //Multi-blast, blaster reflect cycles through different responsive effects ResponsiveClashL,NavajoWhite,TrInstant,TrFade<100>,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>, //Responsive clash TransitionEffectL,RandomPerLEDFlicker>,Black>,BrownNoiseFlicker>,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<895>>,EFFECT_IGNITION>, //Unstable orange ignition effect TransitionEffectL>,TrFade<1000>>,EFFECT_IGNITION>, //Sparkle beep ignition effect TransitionEffectL,40>,TrFade<1750>>,EFFECT_RETRACTION>, //Orange humpflicker retraction effect LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>, //Drag LockupTrL,Rgb<255,200,0>,DarkOrange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>, //Responsive melt EffectSequence>,AlphaL>,AlphaL>,AlphaL>>, //Power save, if using fett263's prop file hold Aux and click PWR while ON (pointing up) to dim blade in 25% increments. InOutTrL,TrWaveX,Int<400>,Int<150>,Int<0>>>,TrJoin,TrWaveX,Int<400>,Int<1750>,Int<32768>>>>, //White spark tip ignition and retraction TransitionEffectL,AlphaL,Rgb<50,50,80>,60>,Bump,Int<6000>>>,TrDelay<500>>,EFFECT_RETRACTION>, //Clicky retraction "post off" effect //TransitionEffectL,Black,TrFade<1000>,AlphaL,Bump,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>, //TransitionEffectL,Bump,Int<6000>>>,TrFade<3000>>,EFFECT_NEWFONT>, //Optional/alternate passive battery monitor, on boot (1st line) or font change (2nd line) you will get a visual indicator at the emitter of your current battery level. This also works without a blade if you have a lit emitter or blade plug. Green is Full, Red is Low (the color will blend from Green to Red as the battery is depleted), the indicator will fade out after 3000 ms and not display again until powered down and back up or fonts change. TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>, //On demand battery level, if using fett263's prop file Hold AUX and click PWR while OFF, the battery level is represented by the location on the blade; tip = full, hilt = low and color; green = full, yellow = half, red = low TransitionEffectL,Black,TrFade<2150>,AlphaL,RotateColorsX,Int<50>>,Bump,Int<7750>>>,TrBoing<1500,5>,AlphaL>,RotateColorsX>,500>,Bump,Int<9750>>>,TrBoing<1250,7>,AlphaL,Int<30>>,SmoothStep>,Int<1500>,Int<4200>>,Int<-4000>>>,TrDelay<2850>,AlphaL,RotateColorsX>,60>,Bump,Int<17500>>>,TrDelay<800>>,EFFECT_PREON>, TransitionEffectL,AlphaL,Int<1000>,Int<1000>>,BrownNoiseFlicker,100>,RandomPerLEDFlicker>,Rgb16<26168,0,0>>,BrownNoiseFlicker,RotateColorsX,RotateColorsX>>,Rgb16<65535,10514,0>,50>>,SmoothStep,Int<25250>>,Int<-4000>>>,TrDelay<4750>>,EFFECT_PREON>, TransitionEffectL,AlphaL>,TrFade<500>>,EFFECT_PREON> //Sparkle beep charge-up preon >>()}, { "dark_saber;common", "dark_saber/tracks/dark_saber.wav", StylePtr>,RotateColorsX>>,TransitionEffectL>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,ResponsiveLockupL,50,1>,TrConcat>,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Scale,Int<10000>,Int<14000>>>,ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>,ResponsiveStabL,TrWipe<600>>,ResponsiveBlastL,Scale,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>>,ResponsiveDragL>,TrWipeIn<400>,TrFade<400>>,ResponsiveMeltL,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,InOutTrL,TrWipeIn<800>,Black>,TransitionEffectL,Int<1>>>,TrDelay<50>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<35>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<30>>,EFFECT_PREON>>>()}, { "Coda;common", "coda/tracks/venus.wav", StylePtr>,AudioFlicker,Stripes<5000,-90,RotateColorsX>,RotateColorsX>,RotateColorsX>,RotateColorsX>>>,AudioFlicker>,Stripes<5000,-90,RotateColorsX>,RotateColorsX>,RotateColorsX>,RotateColorsX>>>>, //Rotates ^3 times per minute between DodgerBlue and DeepSkyBlue with subtle Cyan/Blue audioflicker //AudioFlicker,RotateColorsX>>, //Alternate DeepSkyBlue with very subtle audioflicker AlphaL,Black,300>,SwingSpeed<400>>, //Unstable swing AlphaL,Black>,Black,RotateColorsX,Black>,SwingSpeed<525>>, //Unstable ripple swing LockupTrL>,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>, AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,30>,TrSmoothFade<875>>,SaberBase::LOCKUP_NORMAL>, //Responsive lockup effect with screeching humpflicker endlock //LockupTrL,Bump,Scale,Int<4000>,Int<26000>>,Int<6000>>,Scale,Int<14000>,Int<18000>>>>, //AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>, //Alternate standard lockup ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>, //Responsive lightning block ResponsiveStabL>, //Responsive stab //ResponsiveStabL, //Alternate responsive stab, no color change EffectSequence,Scale,Int<100>,Int<400>>,Int<400>>,LocalizedClashL,ResponsiveBlastWaveL,Int<500>,Int<200>>,Scale,Int<100>,Int<400>>>,BlastL,ResponsiveBlastFadeL,Int<6000>,Int<12000>>,Scale,Int<400>,Int<100>>>,ResponsiveBlastL,Int<400>,Int<100>>,Scale,Int<200>,Int<100>>,Scale,Int<400>,Int<200>>>>, //Multi-blast, blaster reflect cycles through different responsive effects //ResponsiveBlastL,Scale,Int<100>,Int<400>>>, //Alternate responsive blast ResponsiveClashL,LemonChiffon,TrInstant,TrFade<100>,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>, //Responsive Clash //ResponsiveClashL,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>, //Alternate white clash TransitionEffectL>,RandomPerLEDFlicker>,Black>,BrownNoiseFlicker>,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<400>,Stripes<3000,-3500,RotateColorsX>,RandomPerLEDFlicker>,Black>,BrownNoiseFlicker>,RotateColorsX>,200>,RandomPerLEDFlicker>,RotateColorsX>>>,TrFade<450>,HumpFlickerL>,Int<19000>>,25>,TrFade<2875>>,EFFECT_IGNITION>, //Stabilize ignition effect TransitionEffectL,RotateColorsX>,TrInstant>,EFFECT_RETRACTION>, //Slow brighten retraction effect LockupTrL>,SmoothStep,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>, //Drag LockupTrL,Red,Orange>,SmoothStep,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>, //Responsive melt EffectSequence>,AlphaL>,AlphaL>,AlphaL>>, //Power save, if using fett263's prop file hold Aux and click PWR while ON (pointing up) to dim blade in 25% increments. InOutTrL,TrWipeIn<1125>>, //Standard ignition/retraction //TransitionEffectL,Black,TrFade<1000>,AlphaL,Bump,Int<6000>>>,TrFade<3000>>,EFFECT_BOOT>, //TransitionEffectL,Bump,Int<6000>>>,TrFade<3000>>,EFFECT_NEWFONT>, //Optional/alternate passive battery monitor, on boot (1st line) or font change (2nd line) you will get a visual indicator at the emitter of your current battery level. This also works without a blade if you have a lit emitter or blade plug. Green is Full, Red is Low (the color will blend from Green to Red as the battery is depleted), the indicator will fade out after 3000 ms and not display again until powered down and back up or fonts change. TransitionEffectL,Bump>>,TrDelay<2000>,AlphaL,Bump>>,TrFade<1000>>,EFFECT_BATTERY_LEVEL>, //On demand battery level, if using fett263's prop file Hold AUX and click PWR while OFF, the battery level is represented by the location on the blade; tip = full, hilt = low and color; green = full, yellow = half, red = low TransitionEffectL,AlphaL,10>,Bump,Int<3000>>>,TrFade<350>,AlphaL,15>,Bump,Int<5000>>>,TrFade<450>,AlphaL,20>,Bump,Int<7000>>>,TrFade<500>,AlphaL,25>,Bump,Int<10500>>>,TrBoing<150,1>>,EFFECT_PREON> //Overload preon effect >>()}, }; BladeConfig blades[] = { { 0, WS281XBladePtr<125, bladePin, Color8::GRB, PowerPINS >(), WS281XBladePtr<6, blade2Pin, Color8::GRB, PowerPINS >() , CONFIGARRAY(presets) }, }; #endif #ifdef CONFIG_BUTTONS Button PowerButton(BUTTON_POWER, powerButtonPin, "pow"); Button AuxButton(BUTTON_AUX, auxPin, "aux"); #endif