Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ProffieOS8.x Config File
- #ifdef CONFIG_TOP // https://pod.hubbe.net/config/the-config_top-section.html
- //============================================================================================================================================
- #include "proffieboard_v2_config.h"
- /*******************************\
- |* *|
- |* === LIST OF CATEGORIES: === *|
- |* *|_____________________________________________________________________________
- |*************************************************************************************************************|
- |* == Blade == *|
- |* == Buttons == *|
- |* == Colors == *|
- |* == Editing == *|
- |* == Memory / Save Memory == *|
- |* == Motion == *|
- |* == Sound/Volume/Audio == *|
- |* == Time Outs == (milisec * sec * min) *|
- |* ========================================================================================================= *|
- |* ========================= PROP SPECIFIC THAT DON'T FIT IN THE CATEGORIES ABOVE: ========================= *|
- |* ==== Fett263 define's ==== *|
- |* == BATTLE MODE OPTIONS == Battle Mode is enabled via controls by default in Fett263's prop *|
- |* == Force Push == Push movement triggers push.wav (or force.wav if push.wav is not present) *|
- |* == Gesture Sleep == Toggle Gesture Ignition and Retraction detection to disable or enable gesture options *|
- |* == Stab On == Gesture Ignition via Stab (linear movement + clash at tip of blade) *|
- |* == Swing On == Gesture Ignition via Swing *|
- |* == Thrust On == Gesture Ignition via Thrust (linear movement) *|
- |* == Twist Off == Gesture Retraction via Twist (back and forth) *|
- |* == Twist On == Gesture Ignition via Twist (back and forth) *|
- \*************************************************************************************************************/
- /***************\
- |* *|
- |* == Blade == *|
- |* *|
- \***************/
- #define NUM_BLADES 1
- const unsigned int maxLedsPerStrip = 144; //144 per meter, only change the number if more than 144/m !
- /*****************\
- |* *|
- |* == Buttons == *|
- |* *|
- \*****************/
- #define NUM_BUTTONS 2
- //#define DUAL_POWER_BUTTONS //The AUX will also turn the saber on. If not defined, AUX will go to next preset when off.
- //#define FETT263_HOLD_BUTTON_OFF //Changes to Hold PWR to turn Off / Retract
- #define FETT263_HOLD_BUTTON_LOCKUP //Enables Hold AUX for Lockup*
- //*Clash Strength / Clash Impact effects and sounds for Lockup negated
- //*Battle Mode control changes to hold AUX + Swing
- //#define FETT263_POWER_LOCK //enable Power Lock Mode to change 2 button Retraction from click PWR to
- //hold PWR & AUX (can be enabled/disabled in Edit Mode)
- #define FETT263_MOTION_WAKE_POWER_BUTTON //Enables a click on POWER Button to Wake Up Gestures after MOTION_TIMEOUT without igniting blade. Saber will play boot sound and gestures will be active.
- //#define FETT263_BM_DISABLE_OFF_BUTTON //During Battle Mode Power Button Retraction is disabled
- //#define FETT263_SS_BUTTON_CLICKER
- //For overwriting value of buttons timeout (defined in "../buttons/button_base.h")
- #define BUTTON_DOUBLE_CLICK_TIMEOUT 300 // default 500
- #define BUTTON_SHORT_CLICK_TIMEOUT 300 // default 500
- #define BUTTON_HELD_TIMEOUT 300 // default 300
- #define BUTTON_HELD_MEDIUM_TIMEOUT 800 // default 800
- #define BUTTON_HELD_LONG_TIMEOUT 2000 // default 2000
- #define BUTTON_LONG_CLICK_TIMEOUT 2500 // default 2500
- /****************\
- |* *|
- |* == Colors == *|
- |* *|
- \****************/
- #define COLOR_CHANGE_DIRECT //This enables "Click to Change" capability for styles with ColorChange<>, used with Dual Phase Library styles and other specialty styles in my library. Does not affect normal styles or Edit Mode functionality
- #define EXTRA_COLOR_BUFFER_SPACE 60 //is a define that can speed up processing a bit. Basically, it can calculate the colors for the next blade (or the next frame for the same blade) even though it’s not done feeding out the data for the data in the color buffer yet. It’s the equivalent of just increasing maxLedsPerStrip. @NoSloppy
- #define SMOOTH_COLORCHANGE_TICKS_PER_REVOLUTION 60 //This define enables "tick" sounds when using the smooth color change menu.
- /*****************\
- |* *|
- |* == Editing == *|
- |* *|
- \*****************/
- //#define DISABLE_COLOR_CHANGE
- #define ENABLE_ALL_EDIT_OPTIONS //This will enable the components for Edit Mode used through the Edit Mode Menu or ProffieOS Workbench (WebUSB).
- /*
- These are not needed since I use ENABLE_ALL_EDIT_OPTIONS
- #define DYNAMIC_BLADE_DIMMING //controllable from ProffieOS Workbench or some props.
- #define DYNAMIC_BLADE_LENGTH //controllable from ProffieOS Workbench or some props.
- #define DYNAMIC_CLASH_THRESHOLD //controllable from ProffieOS Workbench or some props.
- #define SAVE_BLADE_DIMMING
- #define SAVE_CLASH_THRESHOLD
- #define SAVE_COLOR_CHANGE
- #define SAVE_VOLUME
- #define MOUNT_SD_SETTING // https://pod.hubbe.net/config/the-config_top-section.html#mountsdsetting
- */
- #define SAVE_STATE //to encompass SAVE_COLOR_CHANGE, SAVE_BLADE_DIMMING, SAVE_VOLUME and SAVE_PRESET
- /*
- These are not needed since I use SAVE_STATE
- #define SAVE_COLOR_CHANGE //to save the color change state
- #define SAVE_VOLUME //Start with the volume used last
- #define SAVE_PRESET //Start at the last preset when you turn the saber on
- #define SAVE_BLADE_DIMMING
- */
- #define FETT263_EDIT_MODE_MENU //Enable Edit Mode Menu System *Requires ENABLE_ALL_EDIT_OPTIONS define
- //#define FETT263_EDIT_SETTINGS_MENU //Enable Edit Settings Menu (Volume, Clash Threshold, Blade Length, Gestures/Controls, Brightness)
- //I recommend setting USB Type = "Serial + WebUSB" under Arduino > Tools to allow for style, font, track, color editing via ProffieOS Workbench
- //Cannot be combined with FETT263_EDIT_MODE_MENU Requires ENABLE_ALL_EDIT_OPTIONS
- //#define FETT263_CIRCULAR_DIM_MENU //Changes Brightness Menu to Circular Control
- //#define FETT263_QUICK_SELECT_ON_BOOT //Enables Preset Selection Menu on Boot (when power is first applied)
- //Use Dial Menu to turn to desired preset, click PWR to select or hold PWR to select and ignite
- #define FETT263_SPECIAL_ABILITIES //This enables 8 "Special Ability" controls (style controlled), 4 while ON, 4 while OFF.
- //Special Abilities are controlled by the style and can vary in every preset, they are "user" defined effects/capabilities.
- //Allows "Multi-Phase" to be style based, replaces FETT263_MULTI_PHASE.
- //Cannot be used with FETT263_MULTI_PHASE or FETT263_SAVE_CHOREOGRAPHY
- /* "Special Abilities are user effects such as EFFECT_USER1 that a prop file can set to do anything,
- as opposed to like “EFFECT_CLASH” which would always be a clash.
- By using the Fett263 Style Library, many different features and effects can be set to use them with
- a ton of flexibility in your blade styles created there." @NoSloppy */
- //#define FETT263_MULTI_PHASE //enable a preset change while blade is ON to create a "Multi-Phase" saber effect
- //#define FETT263_MULTI_PHASE or #define FETT263_SPECIAL_ABILITIES
- #define FETT263_DISABLE_CHANGE_FONT
- #define FETT263_DISABLE_CHANGE_STYLE
- #define FETT263_DISABLE_COPY_PRESET
- //#define FETT263_DISABLE_MULTI_BLAST_TOGGLE
- //#define MENU_SPEC_TEMPLATE FETT263_MENU_SPEC
- //#define MENU_SPEC_TEMPLATE DefaultMenuSpec // https://pod.hubbe.net/howto/menus.html
- // or
- //#define MENUS_SPEC_TEMPLATE SettingsOnlyMenuSpec // https://pod.hubbe.net/config/the-config_top-section.html#menuspectemplate
- //#define MENU_SPEC_MENU ChangeVolumeMode
- //#define COLOR_MENU_GAMMA 2.2
- //#define CLASH_THRESHOLD_GAMMA 2.0
- //#define VOLUME_MENU_GAMMA 2.2
- #define STEPS_PER_REVOLUTION 12 // Added Feb 2025
- #define FONT_PATTERN "*;common"
- //#define FONT_PATTERN "override;*;common" //new with OS8.x
- /******************************\
- |* *|
- |* == Memory / Save Memory == *| https://pod.hubbe.net/howto/saving-memory.html
- |* *|
- \******************************/
- //#define DISABLE_DIAGNOSTIC_COMMANDS //This disables some diagnostic commands to save memory
- // https://pod.hubbe.net/tools/serial-monitor-commands.html
- // https://pod.hubbe.net/tools/serial-monitor-additional-commands.html
- //#define ENABLE_DEBUG // "reserved for Profezzorn"
- //#define ENABLE_DEVELOPER_COMMANDS // "reserved for Profezzorn" Some commands (only useful for developers are normally not compiled), if you want them, add this define to enable them.
- //#define VERBOSE_SD_ERRORS // With this define, proffieos will say an error code when you get an “sd card not found”
- // error, and that error code can help narrow down the cause of the problem. (maybe)
- #define PROFFIEOS_LOG_LEVEL 200 // PVLOG_ERROR 100 = errors
- // PVLOG_STATUS 200 = things you should probably know, like blade ID
- // PVLOG_NORMAL 300 = normal information about what is happening (default level)
- // PVLOG_DEBUG 400 = information helpful for debugging
- // PVLOG_VERBOSE 500 = repeated, spammy information you don't normally want
- //#define CLASH_RECORDER //Define this to record clashes to SD card as CSV files.
- #define DISABLE_BASIC_PARSER_STYLES //Memory Saving. This will disable the "named" legacy default
- //styles to allow more room for your custom styles.
- //Edit Mode styles replace these.
- //#define DISABLE_TALKIE //To save memory, ProffieOS will use short melodies to indicate an error
- //instead. Changes talky to simple beeps.
- //Disable in == Bluetooth == #define ENABLE_SERIAL //Don't use "Serial + Mass Storage" if not necessary. (To save memory)
- //#define MOUNT_SD_SETTING // https://pod.hubbe.net/config/the-config_top-section.html#mountsdsetting
- // not needed since I have ENABLE_ALL_EDIT_OPTIONS
- /****************************\
- |* *|
- |* == Sound/Volume/Audio == *|
- |* *|
- \****************************/
- #define VOLUME 1500
- #define BOOT_VOLUME 500
- #define FILTER_CUTOFF_FREQUENCY 200
- #define FILTER_ORDER 8
- #define CLASH_THRESHOLD_G 4.0 //was 2.0
- #define ENABLE_IDLE_SOUND
- #define AUDIO_CLASH_SUPPRESSION_LEVEL 10 //This define lets you adjust how much harder it is to do a clash when the audio is loud.
- //The useful range is roughly 1 to 50, and the default is 10.
- #define FETT263_DUAL_MODE_SOUND //Enables odd/even out.wav ignition sound selection based on blade angle
- //Up = odd number sounds, Down = even numbered sounds
- #define FETT263_CLASH_STRENGTH_SOUND //Enables selection of clash, stab and lockup sounds based on clash strength
- //Light clash = 01.wav, Hard clash = highest number.wav
- #define FETT263_SAY_COLOR_LIST //Spoken Color Names replace default sounds during Color List Mode
- #define FETT263_SAY_COLOR_LIST_CC //Spoken Color Names replace default sounds during Color Change "CC" Color List Mode
- //#define FETT263_SAY_BATTERY_PERCENT //Spoken Battery Level percentage during On Demand Battery Level effect
- #define FETT263_BC_SAY_BATTERY_VOLTS_PERCENT//Spoken Battery Level in volts and percent (point down for volts, parallel or up for percent)
- //#define FETT263_CIRCULAR_VOLUME_MENU //Changes Volume Menu to Circular Control
- //#define FETT263_TRACK_PLAYER_NO_PROMPTS //Disables spoken voice prompts in Track Player
- //#define FETT263_DISABLE_QUOTE_PLAYER //Disables Force/Quote player, only uses Force. This will allow Quotes to be controlled by style.
- //Use FETT263_SPECIAL_ABILITIES to set EFFECT_QUOTE or EFFECT_NEXT_QUOTE in style
- //Cannot be used with FETT263_RANDOMIZE_QUOTE_PLAYER and FETT263_QUOTE_PLAYER_START_ON
- #define FETT263_QUOTE_PLAYER_START_ON //This will set Force / Quote to play Quote by default (if in font)
- #define FETT263_BM_CLASH_DETECT 2.0 //max value to use clashes in Battle Mode 2.0, clashes used on clash strength below this value
- //allows light clashes to produce clash effects instead of using Begin/End Lockup
- //(above this value Clash is performed by quick pull away using Begin/End Lockup sounds and effect)
- //Range 0 ~ 8 (note 0 will use Battle Mode 1.0 with all clashes being Begin/End Lockup)
- #define FETT263_RANDOMIZE_QUOTE_PLAYER //is specific to using the saber_fett263.buttons.h prop file, and deals with whether quote sound files are randomized or played sequentially. @NoSloppy
- #define PREONS_MATCH_BLADE_EFFECTS
- /*****************************************\
- |* *|
- |* == Time Outs == (milisec * sec * min) *| //max value 2147483647
- |* *|
- \*****************************************/
- #define PLI_OFF_TIME 1000 * 60 * 1 //Duration that Power Level Indicator will show on OLED when blade is turned off. Set for 10 seconds.
- #define IDLE_OFF_TIME 1000 * 60 * 20 //Timeout for accent LEDs (in milliseconds), this example would set it to 20 minutes
- //This is when the MOSFETS (all 6 of them) turn off, so it’s not necessarily just accent LEDs.
- #define MOTION_TIMEOUT 1000 * 60 * 15 //keeps motion chip active for 15 minutes while blade is Off
- /*************************************************************************************************************\
- |* ========================================================================================================= *|
- |* *|
- |* ========================= PROP SPECIFIC THAT DON'T FIT IN THE CATEGORIES ABOVE: ========================= *|
- |* *|
- |* ========================================================================================================= *|
- \*************************************************************************************************************/
- /******************************\
- |* *|
- |* ==== Fett263 define's ==== *|
- |* *|
- \******************************/
- /**********************************************************************************************\
- |* *|
- |* == BATTLE MODE OPTIONS == Battle Mode is enabled via controls by default in Fett263's prop *|
- |* *|
- \**********************************************************************************************/
- //#define FETT263_BATTLE_MODE_ALWAYS_ON //Battle Mode is always on, toggle controls deactivated
- //This will disable traditional Clash and Stab effects (cannot be used with FETT263_BATTLE_MODE_START_ON)
- //#define FETT263_BATTLE_MODE_START_ON //Battle Mode is active with each ignition by default but can be toggled using Aux + Swing control
- //(cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON)
- //#define FETT263_MAX_CLASH 1276800 //optional define to set the hardest clash on saber range 8 ~ 16, defaults to 16 if not defined
- //#define FETT263_SPIN_MODE //Enables toggle for "Spin" Mode* which disables all clash/stab/lockup effects to allow for spinning and flourishes.
- //Cannot be used with FETT263_SAVE_CHOREOGRAPHY or FETT263_HOLD_BUTTON_LOCKUP *Not the same as ENABLE_SPINS
- //#define ENABLE_SPIN
- #define FETT263_USE_BC_MELT_STAB //Allows MELT to be gesture controlled full-time, uses Thrust for Stab effect
- #define FETT263_LOCKUP_DELAY 1500 //"delay" in millis to determine Clash vs Lockup
- /**********************************************************************************************\
- |* *|
- |* == Force Push == Push movement triggers push.wav (or force.wav if push.wav is not present) *|
- |* *|
- \**********************************************************************************************/
- //#define FETT263_FORCE_PUSH //To enable gesture controlled Force Push during Battle Mode (will use push.wav or force.wav if not present)
- #define FETT263_FORCE_PUSH_ALWAYS_ON //To enable gesture controlled Force Push full time (will use push.wav or force.wav if not present)
- #define FETT263_FORCE_PUSH_LENGTH 2 //Allows for adjustment to Push gesture length in millis needed to trigger Force Push
- //Recommended range 1 ~ 10, 1 = shortest, easiest to trigger, 10 = longest
- /*************************************************************************************************************\
- |* *|
- |* == Gesture Sleep == Toggle Gesture Ignition and Retraction detection to disable or enable gesture options *|
- |* *|
- \*************************************************************************************************************/
- #define FETT263_SAVE_GESTURE_OFF //Save "Gesture Sleep" setting to turn gesture ignitions and retractions off on boot
- /*************************************************************************************\
- |* *|
- |* == Stab On == Gesture Ignition via Stab (linear movement + clash at tip of blade) *|
- |* *|
- \*************************************************************************************/
- //#define FETT263_STAB_ON //To enable Stab On Ignition control (automatically enters Battle Mode, uses Fast On)
- #define FETT263_STAB_ON_PREON //Disables Fast On ignition for Stab On so Preon is used (cannot be used with FETT263_STAB_ON)
- //#define FETT263_STAB_ON_NO_BM //To enable Stab On Ignition control but not activate Battle Mode
- //(Combine with FETT263_STAB_ON or FETT263_STAB_ON_PREON,
- //cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
- /*********************************************\
- |* *|
- |* == Swing On == Gesture Ignition via Swing *|
- |* *|
- \*********************************************/
- #define FETT263_SWING_ON //To enable Swing On Ignition control (automatically enters Battle Mode, uses Fast On)
- //#define FETT263_SWING_ON_PREON //Disables Fast On ignition for Swing On so Preon is used (cannot be used with FETT263_SWING_ON)
- #define FETT263_SWING_ON_NO_BM //To enable Swing On Ignition control but not activate Battle Mode
- //(Combine with FETT263_SWING_ON or FETT263_SWING_ON_PREON,
- //cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
- #define FETT263_SWING_ON_SPEED 250 //Swing Speed required for Ignition 250 ~ 500 recommended
- /*****************************************************************\
- |* *|
- |* == Thrust On == Gesture Ignition via Thrust (linear movement) *|
- |* *|
- \*****************************************************************/
- //#define FETT263_THRUST_ON //To enable Thrust On Ignition control (automatically enters Battle Mode, uses Fast On)
- //#define FETT263_THRUST_ON_PREON //Disables Fast On ignition for Thrust On so Preon is used (cannot be used with FETT263_THRUST_ON)
- //#define FETT263_THRUST_ON_NO_BM //To enable Thrust On Ignition control but not activate Battle Mode
- //(Combine with FETT263_THRUST_ON or FETT263_THRUST_ON_PREON,
- //cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
- /*****************************************************************\
- |* *|
- |* == Twist Off == Gesture Retraction via Twist (back and forth) *|
- |* *|
- \*****************************************************************/
- #define FETT263_TWIST_OFF //To enable Twist Off Retraction control <-- I don't like it.
- /**************************************************************\
- |* *|
- |* == Twist On == Gesture Ignition via Twist (back and forth) *|
- |* *|
- \**************************************************************/
- //#define FETT263_TWIST_ON //To enable Twist On Ignition control (automatically enters Battle Mode, uses Fast On)
- #define FETT263_TWIST_ON_PREON //Disables Fast On ignition for Twist On so Preon is used (cannot be used with FETT263_TWIST_ON)
- #define FETT263_TWIST_ON_NO_BM //To enable Twist On Ignition control but not activate Battle Mode
- //(Combine with FETT263_TWIST_ON or FETT263_TWIST_ON_PREON,
- //cannot be used with FETT263_BATTLE_MODE_ALWAYS_ON or FETT263_BATTLE_MODE_START_ON)
- #endif // CONFIG_TOP
- #ifdef CONFIG_PROP // https://pod.hubbe.net/howto/making-your-own-prop-file.html
- //============================================================================================================================================
- #include "../props/saber_fett263_buttons.h"
- #endif // CONFIG_PROP
- #ifdef CONFIG_PRESETS
- //============================================================================================================================================
- /****************************\
- |* *|
- |* == Saber presets list == *|
- |* *|
- \****************************/
- Preset presets_saber[] = {
- {"Kaboom;common", "common/tracks/Kaboom.wav",
- //StylePtr<Layers<Layers<Mix<SmoothStep<Int<16384>,Int<4000>>,Stripes<10000,200,Rgb<0,20,90>,Rgb<0,50,240>>,Stripes<10000,-200,Rgb<0,20,90>,Rgb<0,50,240>>>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<600>>,EFFECT_IGNITION>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,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>>>,ResponsiveStabL<Red>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrJoinR<TrWipe<300>,TrWipeIn<300>>,TrJoin<TrWipe<5000>,TrWipeIn<5000>>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Pulsing<Rgb<0,50,240>,Rgb<0,50,240>,400>,Bump<Scale<Trigger<EFFECT_PREON,Int<3000>,Int<1500>,Int<1500>>,Int<0>,Int<16384>>,Int<8000>>>,TrDelay<3000>,Mix<Bump<Int<16384>,Int<8000>>,Black,Rgb<0,50,240>>,TrJoin<TrWipe<1500>,TrWipeIn<1500>>,Mix<Bump<Int<16384>,Int<8000>>,Black,Rgb<0,50,240>>,TrDelay<160>>,EFFECT_PREON>>>(),
- StylePtr<Layers< //Same as above but "Argified"
- Layers<
- Mix<SmoothStep<Int<16384>,Int<4000>>,Stripes<10000,200,RgbArg<BASE_COLOR_ARG,Rgb<0,20,90>>,Rgb<0,50,240>>,Stripes<10000,-200,Rgb<0,20,90>,Rgb<0,50,240>>>,
- TransitionEffectL<TrConcat<TrInstant,White,TrFade<600>>,EFFECT_IGNITION>>,
- LockupTrL<Layers<
- AlphaL<AudioFlickerL<RgbArg<LOCKUP_COLOR_ARG,White>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,
- AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,
- ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,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>>>,
- ResponsiveStabL<RgbArg<STAB_COLOR_ARG,Red>>,
- ResponsiveBlastL<RgbArg<BLAST_COLOR_ARG,White>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
- ResponsiveClashL<RgbArg<CLASH_COLOR_ARG,White>,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Int<20000>>,
- LockupTrL<AlphaL<BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,White>,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,
- LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,
- InOutTrL<TrJoinR<TrWipe<300>,TrWipeIn<300>>,TrJoin<TrWipe<5000>,TrWipeIn<5000>>>,
- TransitionEffectL<TrConcat<TrInstant,AlphaL<Pulsing<RgbArg<PREON_COLOR_ARG,Rgb<0,50,240>>,Rgb<0,50,240>,400>,Bump<Scale<Trigger<EFFECT_PREON,Int<3000>,Int<1500>,Int<1500>>,Int<0>,Int<16384>>,Int<8000>>>,TrDelay<3000>,Mix<Bump<Int<16384>,Int<8000>>,Black,Rgb<0,50,240>>,TrJoin<TrWipe<1500>,TrWipeIn<1500>>,Mix<Bump<Int<16384>,Int<8000>>,Black,Rgb<0,50,240>>,TrDelay<160>>,EFFECT_PREON>>>(),
- "kaboom"},
- };
- /***************************\
- |* *|
- |* == Blades Array list == *|
- |* *|
- \***************************/
- BladeConfig blades[] = {
- { 0,WS281XBladePtr<129,bladePin,Color8::GRB,PowerPINS<bladePowerPin2,bladePowerPin3>>(),
- CONFIGARRAY(presets_saber) },
- };
- #endif // CONFIG_PRESETS
- #ifdef CONFIG_BUTTONS
- //============================================================================================================================================
- Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
- Button AuxButton(BUTTON_AUX, auxPin, "aux");
- #endif // CONFIG_BUTTONS
Advertisement
Add Comment
Please, Sign In to add comment