Proffie version is 5.9
Wiriing:
3.7v 18650 battery, kill switch, 1 main momentary and 1 aux switch, TRI CREE LED RGB (3 channel led). Resistors for the red and blue dies. In addition, one crystal LED but this seems fine.
Issue: On ignition all 3 LED channels are lit rather than following the presets in the config file. I was expecting one LED lit at a time and to be able to change color channel with button.
Config file:
#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 2
#define NUM_BUTTONS 2
#define VOLUME 1000
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 1.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#endif
#ifdef CONFIG_PRESETS
Preset presets[] = {
{ "TeensySF", "tracks/venus.wav",
StyleNormalPtr<CYAN, WHITE, 300, 800>(),
StyleNormalPtr<WHITE, WHITE, 300, 800>(), "cyan"},
{ "SmthJedi", "tracks/mars.wav",
StylePtr<InOutSparkTip<EASYBLADE(BLUE, WHITE), 300, 800> >(),
StyleNormalPtr<WHITE, WHITE, 300, 800>(), "blue"},
{ "SmthGrey", "tracks/mercury.wav",
StyleNormalPtr<RED, WHITE, 300, 800>(),
StyleNormalPtr<WHITE, WHITE, 300, 800>(), "red"},
{ "SmthFuzz", "tracks/uranus.wav",
StylePtr<InOutHelper<EASYBLADE(OnSpark<GREEN>, WHITE), 300, 800> >(),
StyleNormalPtr<WHITE, WHITE, 300, 800>(), "green"},
{ "RgueCmdr", "tracks/venus.wav",
StyleNormalPtr<WHITE, RED, 300, 800, RED>(),
StyleNormalPtr<WHITE, WHITE, 300, 800>(), "white"},
{ "TthCrstl", "tracks/mars.wav",
StyleNormalPtr<AudioFlicker<YELLOW, WHITE>, BLUE, 300, 800>(),
StyleNormalPtr<WHITE, WHITE, 300, 800>(), "yellow"},
{ "TeensySF", "tracks/mercury.wav",
StylePtr<InOutSparkTip<EASYBLADE(MAGENTA, WHITE), 300, 800> >(),
StyleNormalPtr<WHITE, WHITE, 300, 800>(), "magenta"},
{ "SmthJedi", "tracks/uranus.wav",
StyleNormalPtr<RED, WHITE, 300, 800>(),
StyleNormalPtr<WHITE, WHITE, 300, 800>(), "red"},
};
BladeConfig blades[] = {
{ 0, SimpleBladePtr<CreeXPE2RedTemplate<1500>, CreeXPE2GreenTemplate<0>, CreeXPE2BlueTemplate<450>, NoLED, bladePowerPin1, bladePowerPin2, bladePowerPin3, -1>(),
SimpleBladePtr<CreeXPE2WhiteTemplate<550>, NoLED, NoLED, NoLED, bladePowerPin6, -1, -1, -1>()
, CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif