#ifdef CONFIG_TOP #include "proffieboard_v2_config.h" #define NUM_BLADES 2 #define NUM_BUTTONS 2 #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 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 // Before using KEEP_SAVEFILES_WHEN_PROGRAMMING be sure to read documentation // https://github.com/profezzorn/ProffieOS/wiki/ProffieOS6-Keeping-Edits-When-Uploading #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[] = { { "Analog;common", "common/tracks/track1.wav", StylePtr>,RotateColorsX>>, //Ice blue audioflicker AlphaL>,SwingSpeed<500>>, //Bright cyan color swing AlphaL>,RotateColorsX>,Pulsing>,Black,800>>,Scale,Int<13600>>,Scale,Int<-19300>,Int<32768>>,Int<0>>>, //Hard swing ripple effect 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,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<1000>>,Stripes<1500,2000,RotateColorsX,RotateColorsX>>,Stripes<1500,-2500,RotateColorsX,RotateColorsX>>>,Int<18000>>,TrFade<800>,AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<1000>>,Stripes<1500,1000,RotateColorsX>,RotateColorsX>>,Stripes<1500,-1250,RotateColorsX>,RotateColorsX>>>,Int<18000>>,TrFade<1100>>,SaberBase::LOCKUP_NORMAL>, //Responsive lockup with click calibration effect //AlphaL,Scale,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat>,TrConcat>,SaberBase::LOCKUP_NORMAL>, //Alternate lockup ending with white fade out, replace the second AlphaL line above (ending in LOCKUP_NORMAL) ResponsiveLightningBlockL,50,1>,TrConcat,Int<18000>>>,TrFade<200>>,TrConcat>,30>,TrSmoothFade<600>>>, //Responsive lightning block AlphaL>,SmoothStep>,Int<1200>,Int<4500>>,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,LemonChiffon,TrInstant,TrFade<100>,EFFECT_CLASH>,TrInstant,TrFade<400>,Scale,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>, //Responsive clash TransitionEffectL,Black>,BrownNoiseFlicker,200>,RandomPerLEDFlicker,Rgb<30,30,30>>>,TrFade<1000>>,EFFECT_IGNITION>, //Bright HumpFlicker ignition effect TransitionEffectL>,40>,TrFade<1200>>,EFFECT_RETRACTION>, //Bright HumpFlicker 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,AudioFlicker,RotateColorsX>>,TrWipe<100>,Black,TrBoing<550,2>>,TrColorCycle<790>>, //Glitch out ignition and cycle down retraction TransitionEffectL>,Int<30>>,SmoothStep>,Int<1500>,Int<5000>>,Int<-4000>>>,TrFade<1400>,AlphaL>,Bump,Int<10000>>>,TrFade<1500>,AlphaL,Bump,Int<7000>>>,TrFade<2100>>,EFFECT_RETRACTION>, //Retraction cool down 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,AlphaL,Rgb<50,50,80>,500>,Bump,Int<6000>>>,TrBoing<600,9>>,EFFECT_PREON> //Clickity preon >>(), }, }; 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