#ifdef CONFIG_TOP #include "proffieboard_v2_config.h" #define NUM_BLADES 1 #define NUM_BUTTONS 1 #define VOLUME 1550 const unsigned int maxLedsPerStrip = 144; #define CLASH_THRESHOLD_G 3.0 #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SD #define ENABLE_SERIAL // Keeps your memory limits active from the documentation snippet #define ENABLE_ALL_EDIT_OPTIONS #define DISABLE_BASIC_PARSER_STYLES #define DISABLE_DIAGNOSTIC_COMMANDS #define COLOR_CHANGE_DIRECT #define BC_THRUST_ON #define BC_TWIST_ON #define BC_TWIST_OFF #define BC_FORCE_PUSH #define FEMALE_TALKIE_VOICE #define VOLUME_MENU_CYCLE #define IDLE_OFF_TIME 60 * 5 * 1000 #define SPEAK_BLADE_ID #endif #ifdef CONFIG_PROP // RESTORES YOUR FACTORY BUTTON LAYOUT AND FIXES THE TIMINGS IMMEDIATELY #include "../props/saber_BC_buttons.h" #include "../sound/sound_library.h" #endif #ifdef CONFIG_PRESETS Preset presets[] = { // Preset 1: Original Factory Rey Font { "Bank02;common", "tracks/FinalSteps.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>>>()}, // Preset 2: Original Battery Level Check { "Batt00;common", "tracks/cantina.wav", &style_charging, "Battery\nLevel"} }; BladeConfig blades[] = { { 0, WS281XBladePtr<132, bladePin, Color8::GRB, PowerPINS >(), CONFIGARRAY(presets) }, }; #endif #ifdef CONFIG_BUTTONS Button PowerButton(BUTTON_POWER, powerButtonPin, "pow"); #endif