#ifdef CONFIG_TOP #include "proffieboard_v2_config.h" #define NUM_BLADES 1 #define NUM_BUTTONS 1 #define VOLUME 1800 const unsigned int maxLedsPerStrip = 122; #define CLASH_THRESHOLD_G 8.0 #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SD #define ENABLE_SSD1306 #define ENABLE_SERIAL #define DISABLE_DIAGNOSTIC_COMMANDS #define DISABLE_BASIC_PARSER_STYLES #define SAVE_STATE #define NO_REPEAT_RANDOM #define COLOR_CHANGE_DIRECT #define IDLE_OFF_TIME 60 * 2 * 1000 #define FETT263_MOTION_WAKE_POWER_BUTTON #define FETT263_FORCE_PUSH_ALWAYS_ON #define FETT263_FORCE_PUSH_LENGTH 3 #define FETT263_THRUST_ON #define FETT263_THRUST_ON_NO_BM #define FETT263_TWIST_OFF #define FETT263_EFFECT_BATTERY_LEVEL #define FETT263_SAY_BATTERY_PERCENT #define FETT263_SAY_COLOR_LIST #define FETT263_SAY_COLOR_LIST_CC // #define FETT263_HOLD_BUTTON_LOCKUP #endif #ifdef CONFIG_PROP #include "../props/saber_fett263_buttons.h" #endif #ifdef CONFIG_PRESETS Preset presets[] = { {"ESB_GRAFLEX;common","ESB_GRAFLEX/tracks/ESB_GRAFLEX.wav", /* copyright Fett263 Rotoscope (Primary Blade) OS6 Style https://fett263.com/fett263-proffieOS6-style-library.html#Rotoscope OS6.7 v4.021 Single Style Base Style: Rotoscope - Single Color (Original Trilogy) Base Color: Rgb<0,135,255> (0) --Effects Included-- Ignition Effect: SparkTip Ignition Retraction Effect: Standard Retraction Lockup Effect: Intensity Lockup V1, Begin Effect: Real Clash, End Effect: Full Blade Absorb LightningBlock Effect: Responsive Lightning Block Drag Effect: Intensity Sparking Drag Melt Effect: Intensity Melt Stab Effect: Sparking Stab Blast Effect: Blast Wave (Random) Clash Effect: Real Clash V1 */ StylePtr>,RgbArg>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>,RgbArg>>,TransitionEffectL>,TrWipeIn<200>>,AlphaL>>,SmoothStep,Int<2000>>>,TrWipe<200>>,EFFECT_STAB>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix,Int<26000>>,TransitionEffectL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<12000>,Int<60000>>>>,TrFadeX,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL>,Scale,Int<100>,Int<400>>,Int<100>,Scale,Int<100>,Int<400>>,Scale,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<14000>,Int<18000>>>,BrownNoiseFlickerL>,Int<200>>,StripesX,Scale,Int<-5000>>,Mix,Black,RgbArg>>,RgbArg>,Mix,Black,RgbArg>>>>,AlphaL>,Mix,Black,RgbArg>>>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Int<13000>>>,TrJoin,TrInstant>,TrFade<3000>,EFFECT_LOCKUP_BEGIN>,TrConcat,TrInstant>,Mix,Int<26000>>,RgbArg>,AlphaL>,Bump,Scale,Sum,Int<-12000>>,Sum,Int<10000>>>,Sum,Int<-10000>>>,Scale,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat>,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL>,AudioFlicker>,Blue>,50,1>,TrConcat>,Bump,Int<18000>>>,TrFade<200>>,TrConcat>,Int<16000>>,30>,TrSmoothFade<600>>>,LockupTrL>>,SmoothStep,Int<3000>>>,TrConcat,TrWipeIn<200>>,AlphaL>,Int<300>>,SmoothStep,Int<3000>>>,TrFade<4000>>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL,Int<0>>,StaticFire,RgbArg>,RotateColorsX,RgbArg>>>,Mix,RotateColorsX,RgbArg>>,RotateColorsX,Mix,Black,RgbArg>>>>,0,3,5,3000,10>>,SmoothStep,Int<4000>>>,TrConcat,AlphaL>,SmoothStep,Int<4000>>>,TrJoin,TrFade<300>>,AlphaL,RgbArg>,RotateColorsX,RgbArg>>>,SmoothStep,Int<4000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT>,InOutTrL>,IgnitionTime<200>>,TrWipeInX>,Black>>>(), "ESB_GRAFLEX" }, }; BladeConfig blades[] = { { 0, WS281XBladePtr<122, bladePin, Color8::GRB, PowerPINS >(), CONFIGARRAY(presets) }, }; #endif #ifdef CONFIG_BUTTONS Button PowerButton(BUTTON_POWER, powerButtonPin, "pow"); Button AuxButton(BUTTON_AUX, auxPin, "aux"); #endif