ROTJ build, config not verifying

I am having no luck getting my config to verify in Arduino. I have used Fett’s accent style for the ROTJ control box blinkies. I have blades set to 3, and a style for each. Any help would be fantastic. Thanks

#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 3
#define NUM_BUTTONS 2
#define VOLUME 600
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 3.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#define SAVE_STATE
#define SHTOK_GESTURE_IGNITION
#endif

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

#ifdef CONFIG_PRESETS
Preset presets[] = {


   { "Rotj", "tracks/return.wav",

StylePtr<Layers<RotateColorsX<Variation,Green>,AlphaL<LemonChiffon,SwingSpeed<600>>,LockupTrL<Layers<AlphaL<AudioFlickerL<Rgb<255,240,80>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<LemonChiffon,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>>,Int<10000>>>>,TrConcat<TrInstant,TransitionEffect<Rgb<255,180,50>,LemonChiffon,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,TrFade<400>>,TrConcat<TrInstant,TransitionEffect<LemonChiffon,Rgb<255,180,50>,TrInstant,TrFade<200>,EFFECT_LOCKUP_BEGIN>,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,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<TransitionEffect<Rgb<255,240,80>,LemonChiffon,TrInstant,TrFade<50>,EFFECT_BLAST>,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,ResponsiveClashL<TransitionEffect<Rgb<255,240,80>,LemonChiffon,TrInstant,TrFade<100>,EFFECT_CLASH>,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<TrWipe<200>,TrWipeIn<500>,Black>>>(),

StylePtr<Layers<TransitionLoop<Green,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>,InOutTrL<TrInstant,TrInstant,Layers<Black,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Green,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>,TrDelay<30000>,TransitionLoop<Green,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>,TrFade<500>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Green,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>,TrDelay<30000>,TransitionLoop<Green,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>,TrFade<500>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Green,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>,TrDelay<30000>,TransitionLoop<Green,TrConcat<TrBoing<3000,9>,Black,TrDelay<2000>>>,TrFade<500>>,EFFECT_BOOT>>>>>(),

StylePtr<Layers<TransitionLoop<Black,TrConcat<TrDelay<3000>,Red,TrBoing<2000,5>>>,InOutTrL<TrInstant,TrInstant,Layers<Black,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrDelay<3000>,Red,TrBoing<2000,5>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrDelay<3000>,Red,TrBoing<2000,5>>>,TrFade<500>>,EFFECT_RETRACTION>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrDelay<3000>,Red,TrBoing<2000,5>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrDelay<3000>,Red,TrBoing<2000,5>>>,TrFade<500>>,EFFECT_NEWFONT>,TransitionEffectL<TrConcat<TrInstant,TransitionLoop<Black,TrConcat<TrDelay<3000>,Red,TrBoing<2000,5>>>,TrDelay<30000>,TransitionLoop<Black,TrConcat<TrDelay<3000>,Red,TrBoing<2000,5>>>,TrFade<500>>,EFFECT_BOOT>>>>>(), "rotj"},

   { "Unlightstable", "tracks/",
    &style_charging, "Battery\nLevel"}
};
BladeConfig blades[] = {
 { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), 
   SimpleBladePtr<CH2LED, NoLED, NoLED, NoLED, bladePowerPin4, -1, -1, -1>(),
   SimpleBladePtr<CH1LED, 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

I’m using 3mm square accent leds in the control box. One is green and one is red. Perhaps the Fett style is for pixel accents only?

Please also paste the error(s) you get.

1 Like

Btw, I see that your charging preset only has one style. That would cause some problems.

1 Like
Arduino: 1.8.13 (Mac OS X), Board: "Proffieboard V2, Serial + Mass Storage + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"











In file included from /Users/olliethelning/Desktop/ProffieOS/ProffieOS.ino:582:0:
sketch/config/hero.h:34:1: error: cannot convert 'const char*' to 'StyleFactory*' in initialization
 };
 ^
exit status 1
Error compiling for board Proffieboard V2.


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Ah, I didn’t think about this style. So would i just use the &style_charging, text for each blade?

@profezzorn I added the extra styles to the charging preset, and a comma that was missing and it has now verified.
Thanks so much

1 Like