Edison flexible led filament

So I picked up some of these flexible led filaments to muck about with and possibly use them in a build.
As they are flexible they could be used for all sorts of bits and Bobs.
I did a dry run with them and they perform rather well.

But I have a question.
@profezzorn could we use the fetts to add basic effects to these?
Like a flicker or pulse?

Should be possible. How many volts do they want?

2.8 - 3.2 volts is good.
Was looking to use a separate 3v supply board to feed multiple of these so the running current doesn’t interfere with the proffie.

Boylei Hobby Time uses these a lot for his kitbash models.

1 Like

did not know about this person, thanx for the heads up. :+1:

His videos are like an audible and visual massage.

1 Like

Define them as a noled blade for a specific color, write an audio flicker bladestyle for that color flickering between the color and black. Hook up the negative up to your defined fet for that blade. Bob’s your auntie.

2 Likes

I will have a play with that tonight.
Thank you.

Here are some snippets from a config file with a normal led “noled”.

Blue Normal LED Blade Define:
SimpleBladePtr<CreeXPE2BlueTemplate<47000>, NoLED, NoLED, NoLED, bladePowerPin5, -1, -1, -1>(),

Then here is a bladestyle for it that runs in audio flicker, and pulses when off:
StylePtr<InOutHelper<SimpleClash<Lockup<Blast<Blue,Black>,AudioFlicker<Blue,Black>>,Black>,300,800,Pulsing<Blue,Black,3000>>>(),

of course, you could just get rid of the “off behavior” and have it black when off. This LED is on my Mentor graflex, and are 2 blue 3mm LEDs that give the entire chamber, not the crystals, but the chamber supplemental lighting.

1 Like

In that case, just resistor them correctly and you should be fine.
I assume they don’t use more than 10A?

I was afraid they were going to need 80-100 volts…

1 Like

Thanx @MegtoothSith i copied this into my config and it compiled with no issues.
the pulsing works really well when the blade is off.
clash works reasonably well given that it goes black momentarily, but the blaster just seems to stay constant.
also the audio flicker doesn’t seem to work, I’m assuming that the leds do not react fast enough to show the effect.
Quick video to show what happens.

@profezzorn i think they draw around the 100mA range per string (mine are 130mm long) but you can get them up to 300mm long. i just got some in to experiment with them to see what could be done with them.

as far as i am aware, not many do any more. now favouring 12 - 36v

all in all I’m actually quite happy with the results but i will have a play with the blade style to see how they react.

ill.mess with bladestyle

That would be weird.
LEDs can usually blink millions of times per second.
It’s possible they use a slow phosphorous material that cannot though.

this would not surprise me as they were rather cheap :grin:

@MegtoothSith i was going to add a strobe affect and change the timing until i don’t see a flicker anymore. this might help in finding how fast they react.

just uploaded a simple audio flicker style with no frills and it works.

just added the pulsing while off and i’m happy with how it works.
the audio flicker gives a responsive effect to clash, blaster, lock up etc so super easy.

StylePtr<InOutHelper<AudioFlicker<Blue,Black>,300,800,Pulsing<Blue,Black,3000>>>

thanx @MegtoothSith for the assist with this :+1:

3 Likes

Oh man, that came out awesome! Yeah, my bladestyle was for a different purpose on the Mentor. This is the stuff I love messing with. SImple bladestyles that make things do cool stuff! Its fun.

1 Like

ended up playing with this a bit more and now have a few more effects to go with it.

StylePtr<InOutHelper<Blast<SimpleClash<Lockup<Sequence<Blue,Black,80,37,0b1010100011100,0b111000111000101,0b100000000000000>,Pulsing<Blue,Black,400>,Strobe<Blue,Black,10,100>,Int<32768>,SmoothStep<Int<32768>,Int<32768>>>,Blue,600>,SimpleClash<Blue,Blue,1000>,1000,1,10000>,300,300,Pulsing<Blue,Black,1000>>>()

the only thing i cant get working is the lock up for some reason. (it works in style editor)
if i put in the lock up first after the main blade style it works but no clash, drag, blaster etc?
@profezzorn , @MegtoothSith any ideas what im missing?

I’d Layerize and simplify it.

StylePtr<Layers<
  SequenceL<Blue,80,37,0b1010100011100,0b111000111000101,0b100000000000000>,
  LockupL<Pulsing<Blue,Black,400>,Strobe<Blue,Black,10,100>,Int<32768>,Int<32768>,Int<32768>>,
  SimpleClashL<Blue,600,EFFECT_CLASH,Int<32768>>,
  SimpleClashL<Blue,600,EFFECT_BLAST,Int<32768>>,
  InOutTrL<TrFade<300>,TrFade<300>,Pulsing<Blue,Black,1000>>>>()
1 Like

Thanx @NoSloppy I will try it a bit later tonightđź‘Ť

@NoSloppy i added the style you created for me to try out but i got a compile error.
it’s not one i have seen before either so a little stuck.
im running OS5.9 and the latest plug in 3.6.0

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Proffieboard V2, Serial + Mass Storage + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"





















C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\james\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\james\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries D:\proffieboard v2.2\ProffieOS-v6.3\libraries -fqbn=proffieboard:stm32l4:ProffieboardV2-L433CC:usb=cdc_msc_webusb,dosfs=sdspi,speed=80,opt=os -ide-version=10819 -build-path C:\Users\james\AppData\Local\Temp\arduino_build_785385 -warnings=none -build-cache C:\Users\james\AppData\Local\Temp\arduino_cache_986392 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\james\Documents\ArduinoData\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update -prefs=runtime.tools.arm-none-eabi-gcc-9-2020-q2-update.path=C:\Users\james\Documents\ArduinoData\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update -verbose D:\proffieboard v2.2\ProffieOS-v5.9\ProffieOS\ProffieOS.ino

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\james\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\james\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries -libraries D:\proffieboard v2.2\ProffieOS-v6.3\libraries -fqbn=proffieboard:stm32l4:ProffieboardV2-L433CC:usb=cdc_msc_webusb,dosfs=sdspi,speed=80,opt=os -ide-version=10819 -build-path C:\Users\james\AppData\Local\Temp\arduino_build_785385 -warnings=none -build-cache C:\Users\james\AppData\Local\Temp\arduino_cache_986392 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\james\Documents\ArduinoData\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update -prefs=runtime.tools.arm-none-eabi-gcc-9-2020-q2-update.path=C:\Users\james\Documents\ArduinoData\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update -verbose D:\proffieboard v2.2\ProffieOS-v5.9\ProffieOS\ProffieOS.ino

Using board 'ProffieboardV2-L433CC' from platform in folder: C:\Users\james\Documents\ArduinoData\packages\proffieboard\hardware\stm32l4\3.6.0

Using core 'stm32l4' from platform in folder: C:\Users\james\Documents\ArduinoData\packages\proffieboard\hardware\stm32l4\3.6.0

Detecting libraries used...

"C:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "C:\\Users\\james\\AppData\\Local\\Temp\\arduino_build_785385\\sketch\\ProffieOS.ino.cpp" -o nul

Alternatives for Wire.h: [Wire@1.0]

ResolveLibrary(Wire.h)

  -> candidates: [Wire@1.0]

"C:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src" "C:\\Users\\james\\AppData\\Local\\Temp\\arduino_build_785385\\sketch\\ProffieOS.ino.cpp" -o nul

"C:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src" "C:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src\\Wire.cpp" -o nul

Generating function prototypes...

"C:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src" "C:\\Users\\james\\AppData\\Local\\Temp\\arduino_build_785385\\sketch\\ProffieOS.ino.cpp" -o "C:\\Users\\james\\AppData\\Local\\Temp\\arduino_build_785385\\preproc\\ctags_target_for_gcc_minus_e.cpp"

"C:\\Program Files\\WindowsApps\\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\james\\AppData\\Local\\Temp\\arduino_build_785385\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -MMD -flto -fdevirtualize-at-ltrans -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10819 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_MSC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "-IC:\\Users\\james\\Documents\\ArduinoData\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src" "C:\\Users\\james\\AppData\\Local\\Temp\\arduino_build_785385\\sketch\\ProffieOS.ino.cpp" -o "C:\\Users\\james\\AppData\\Local\\Temp\\arduino_build_785385\\sketch\\ProffieOS.ino.cpp.o"

In file included from D:\proffieboard v2.2\ProffieOS-v5.9\ProffieOS\styles\fire.h:4,

                 from D:\proffieboard v2.2\ProffieOS-v5.9\ProffieOS\ProffieOS.ino:379:

D:\proffieboard v2.2\ProffieOS-v5.9\ProffieOS\styles\style_ptr.h: In instantiation of 'void Style<T>::run(BladeBase*) [with T = Layers<AlphaL<Rgb<0, 0, 255>, SequenceF<80, 37, 5404, 29125, 16384> >, LockupL<Layers<Rgb<0, 0, 255>, AlphaL<Rgb<0, 0, 0>, PulsingF<Int<400> > > >, Layers<Rgb<0, 0, 255>, AlphaL<Rgb<0, 0, 0>, StrobeF<Int<10>, Int<100> > > >, Int<32768>, Int<32768>, Int<32768> >, SimpleClashL<Rgb<0, 0, 255>, 600, EffectType::EFFECT_CLASH, Int<32768> >, SimpleClashL<Rgb<0, 0, 255>, 600, EffectType::EFFECT_BLAST, Int<32768> >, InOutTrL<TrFadeX<Int<300> >, TrFadeX<Int<300> >, Layers<Rgb<0, 0, 255>, AlphaL<Rgb<0, 0, 0>, PulsingF<Int<1000> > > >, true> >]':

D:\proffieboard v2.2\ProffieOS-v5.9\ProffieOS\styles\style_ptr.h:38:8:   required from here

D:\proffieboard v2.2\ProffieOS-v5.9\ProffieOS\styles\style_ptr.h:45:22: error: conversion from 'RGBA' to non-scalar type 'OverDriveColor' requested

   45 |       OverDriveColor c = base_.getColor(i);

      |                      ^

Using library Wire at version 1.0 in folder: C:\Users\james\Documents\ArduinoData\packages\proffieboard\hardware\stm32l4\3.6.0\libraries\Wire 

exit status 1

Error compiling for board Proffieboard V2.


my config

#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 4
#define NUM_BUTTONS 2
#define VOLUME 250
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 2.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define COLOR_CHANGE_DIRECT
#define DISABLE_DIAGNOSTIC_COMMANDS
#endif

#ifdef CONFIG_PROP
#include "../props/saber_fett263_buttons.h"
#endif


#ifdef CONFIG_PRESETS
Preset presets[] = {

{ "Bandit", "tracks/track2.wav",
     StylePtr<Layers<Stripes<16000,-1000,RotateColorsX<Variation,Red>,Pulsing<RotateColorsX<Variation,Rgb<90,0,0>>,RotateColorsX<Variation,Red>,800>,RotateColorsX<Variation,Red>>,TransitionEffectL<TrConcat<TrFade<600>,RandomFlicker<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<160,0,0>>>,TrDelay<30000>,RotateColorsX<Variation,Red>,TrFade<800>>,EFFECT_FORCE>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<20000>>>,TrFade<400>>,TrConcat<TrInstant,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Red>,Stripes<1500,-2500,White,Red>>,Int<18000>>,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<Orange,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Int<20000>>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Rgb<255,200,0>,DarkOrange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipeSparkTip<White,300>,TrWipeIn<400>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<Rgb<100,100,150>,SmoothStep<Scale<SlowNoise<Int<2000>>,Int<1000>,Int<4000>>,Int<-4000>>>,TrDelay<8000>>,EFFECT_PREON>>>(),
    StylePtr<Layers<Mix<SmoothStep<Scale<NoisySoundLevel,Int<0>,Int<32768>>,Int<1>>,RotateColorsX<Variation,Red>,Black>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,InOutTrL<TrFade<500>,TrFade<500>,Mix<Bump<Sin<Int<18>>,Int<20000>>,Black,RotateColorsX<Variation,Red>>>>>(),
    StylePtr<Layers<AudioFlicker<RotateColorsX<Variation,Rgb<128,0,0>>,RotateColorsX<Variation,Rgb<200,0,0>>>,TransitionLoopL<TrWaveX<HumpFlickerL<RotateColorsX<Variation,Tomato>,40>,Int<250>,Int<100>,Int<200>,Int<0>>>,TransitionLoopL<TrWaveX<HumpFlickerL<RotateColorsX<Variation,Red>,40>,Int<350>,Int<100>,Int<300>,Int<0>>> ,LockupTrL<BrownNoiseFlickerL<White,Int<200>>,TrConcat<TrInstant,White,TrFade<300>>,TrFade<300>,SaberBase::LOCKUP_NORMAL>,LockupTrL<BrownNoiseFlickerL<White,Int<200>>,TrConcat<TrInstant,White,TrFade<300>>,TrFade<300>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,BlastL<White>,SimpleClashL<White>,TransitionEffectL<TrConcat<TrInstant,Stripes<3000,-3500,White,RandomPerLEDFlicker<Rgb<60,60,60>,Black>,BrownNoiseFlicker<White,Rgb<30,30,30>,200>,RandomPerLEDFlicker<Rgb<80,80,80>,Rgb<30,30,30>>>,TrFade<800>>,EFFECT_IGNITION>,TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,InOutTrL<TrInstant,TrFade<300>,Layers<Black,TransitionEffectL<TrConcat<TrInstant,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrDelay<30000>,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrFade<1000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrInstant,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrDelay<30000>,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrFade<1000>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrDelay<30000>,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrFade<1000>>,EFFECT_RETRACTION>>>>>(),
    StylePtr<Layers<SequenceL<Blue,80,37,0b1010100011100,0b111000111000101,0b100000000000000>,LockupL<Pulsing<Blue,Black,400>,Strobe<Blue,Black,10,100>,Int<32768>,Int<32768>,Int<32768>>,SimpleClashL<Blue,600,EFFECT_CLASH,Int<32768>>,SimpleClashL<Blue,600,EFFECT_BLAST,Int<32768>>,InOutTrL<TrFade<300>,TrFade<300>,Pulsing<Blue,Black,1000>>>>()},


{ "Ronin", "tracks/track3.wav",
     StylePtr<Layers<Layers<AudioFlicker<RotateColorsX<Variation,Rgb<128,0,0>>,RotateColorsX<Variation,Rgb<200,0,0>>>,TransitionLoopL<TrWaveX<HumpFlickerL<RotateColorsX<Variation,Tomato>,40>,Int<250>,Int<100>,Int<200>,Int<0>>>,TransitionLoopL<TrWaveX<HumpFlickerL<RotateColorsX<Variation,Red>,40>,Int<350>,Int<100>,Int<300>,Int<0>>>>,AlphaL<AlphaL<Stripes<2500,-3000,Red,Rgb<60,0,0>,Pulsing<Rgb<30,0,0>,Black,800>>,SwingSpeed<600>>,SmoothStep<Int<16000>,Int<16000>>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<20000>>>,TrFade<400>>,TrConcat<TrInstant,AlphaL<Mix<SmoothStep<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<1000>>,Stripes<1500,2000,White,Red>,Stripes<1500,-2500,White,Red>>,Int<18000>>,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<Orange,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,ResponsiveClashL<White,TrInstant,TrFade<400>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,Int<20000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<AudioFlicker<Blue,SteelBlue>,Bump<Int<0>,Int<8000>>>,TrFade<600>>,EFFECT_IGNITION>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Rgb<255,200,0>,DarkOrange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<1800>,TrWipeIn<1500>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<White,Bump<Int<0>,Int<4000>>>,TrFade<3000>,AlphaL<Orange,Bump<Int<0>,Int<3000>>>,TrFade<3000>,AlphaL<Red,Bump<Int<0>,Int<2000>>>,TrFade<2000>>,EFFECT_RETRACTION>>>(),
    StylePtr<Layers<ColorCycle<Red,25,100,Red,25,500,4000>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_BLAST>,LockupTrL<AudioFlickerL<White>,TrInstant,TrFade<500>,SaberBase::LOCKUP_NORMAL>,TransitionEffectL<TrConcat<TrInstant,White,TrFade<400>>,EFFECT_CLASH>,InOutTrL<TrWipeIn<500>,TrFade<500>,ColorCycle<Red,25,100,Red,25,300,4000>>>>(),
    StylePtr<Layers<AudioFlicker<RotateColorsX<Variation,Rgb<128,0,0>>,RotateColorsX<Variation,Rgb<200,0,0>>>,TransitionLoopL<TrWaveX<HumpFlickerL<RotateColorsX<Variation,Tomato>,40>,Int<250>,Int<100>,Int<200>,Int<0>>>,TransitionLoopL<TrWaveX<HumpFlickerL<RotateColorsX<Variation,Red>,40>,Int<350>,Int<100>,Int<300>,Int<0>>> ,LockupTrL<BrownNoiseFlickerL<White,Int<200>>,TrConcat<TrInstant,White,TrFade<300>>,TrFade<300>,SaberBase::LOCKUP_NORMAL>,LockupTrL<BrownNoiseFlickerL<White,Int<200>>,TrConcat<TrInstant,White,TrFade<300>>,TrFade<300>,SaberBase::LOCKUP_LIGHTNING_BLOCK>,BlastL<White>,SimpleClashL<White>,TransitionEffectL<TrConcat<TrInstant,Stripes<3000,-3500,White,RandomPerLEDFlicker<Rgb<60,60,60>,Black>,BrownNoiseFlicker<White,Rgb<30,30,30>,200>,RandomPerLEDFlicker<Rgb<80,80,80>,Rgb<30,30,30>>>,TrFade<800>>,EFFECT_IGNITION>,TransitionEffectL<TrConcat<TrInstant,HumpFlickerL<White,40>,TrFade<1000>>,EFFECT_RETRACTION>,InOutTrL<TrInstant,TrFade<300>,Layers<Black,TransitionEffectL<TrConcat<TrInstant,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrDelay<30000>,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrFade<1000>>,EFFECT_BOOT>,TransitionEffectL<TrConcat<TrInstant,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrDelay<30000>,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrFade<1000>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrDelay<30000>,Pulsing<RotateColorsX<Variation,Red>,RotateColorsX<Variation,Rgb<10,0,0>>,3000>,TrFade<1000>>,EFFECT_RETRACTION>>>>>(),
    StylePtr<InOutHelper<AudioFlicker<Blue,Black>,300,800,Pulsing<Blue,Black,3000>>>()},


{ "Power_Surge", "tracks/track1.wav",
    &style_charging,
    StyleNormalPtr<BLACK, BLACK, 300, 800>(),
    StyleNormalPtr<BLACK, BLACK, 300, 800>(),
    StyleNormalPtr<BLACK, BLACK, 300, 800>(), "Battery\nLevel"}
};
BladeConfig blades[] = {
 { 0, WS281XBladePtr<24, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(),
    WS281XBladePtr<5, blade4Pin, Color8::GRB, PowerPINS<bladePowerPin4> >(),
    WS281XBladePtr<2, blade2Pin, Color8::GRB, PowerPINS<bladePowerPin6> >(),
    SimpleBladePtr<CreeXPE2BlueTemplate<10000>, NoLED, NoLED, NoLED, bladePowerPin5, -1, -1, -1>(),
    CONFIGARRAY(presets) },
};
#endif

#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif

my only guess is that it doesnt like something with the layers?