I’m working on my DL-44 build and have the sounds and scope display working but I can’t get the Neopixel lighted. I want to use a single Neopixel and have it light every time the trigger is pulled. I’m using this config:
#ifdef CONFIG_TOP
#include “proffieboard_v2_config.h”
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#define VOLUME 1000
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 1.0
#define ENABLE_AUDIO
#define ENABLE_BLASTER_AUTO
//#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
//#define ENABLE_SSD1306
#define INCLUDE_SSD1306 to CONFIG_TOP
#endif
#ifdef CONFIG_PROP
#include “…/props/blaster.h”
#endif
#ifdef CONFIG_PRESETS
Preset presets[] = {
{ “SmthJedi”, “tracks/venus.wav”,
StyleNormalPtr<CYAN, WHITE, 300, 800>(), “smthjedi”}
};
BladeConfig blades[] = {
{ 0, WS281XBladePtr<1, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button FireButton(BUTTON_FIRE, powerButtonPin, “fire”);
Button ModeButton(BUTTON_MODE_SELECT, auxPin, “modeselect”);
#endif
#ifdef CONFIG_BOTTOM
SSD1306Template<128, uint64_t> display(0x3C);
#endif
The Neopixel has the 5v on the positive battery lead, data is connected to Neopixel Data 1 and the ground is on LED 2/3 like a setup from fredrik.hubbe.net
When setup like this the Neopixel does not light for any button press or power on.