Hello. I built a TeensySaber 3.0 and the hardware seems to work, but I can't get my dual LEDs to change colors. They are always of a white color and I tried to change it through a file called "my_config." The code is the same as the code from the configurator. I tried deleting all except for 1 of the presets.
#ifdef CONFIG_TOP
#include "v3_config.h"
#define NUM_BLADES 2
#define NUM_BUTTONS 1
#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[] = {
{ "fontdir", "track.wav",
StylePtr<InOutSparkTip<EASYBLADE(MAGENTA, WHITE), 300, 800> >(),
StylePtr<InOutSparkTip<EASYBLADE(MAGENTA, WHITE), 300, 800> >(), "magenta"},
};
BladeConfig blades[] = {
{ 0, WS2811BladePtr<144, WS2811_ACTUALLY_800kHz | WS2811_GRB>(),
WS2811BladePtr<144, WS2811_ACTUALLY_800kHz | WS2811_GRB, 7, PowerPINS<bladePowerPin4, bladePowerPin5, bladePowerPin6> >(), CONFIGARRAY(presets) },
};
#endif
#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
#endif
In the console, I get
Sdcard found..
ID: 1023 volts 3.30 resistance= 33758500.00
blade= 0
WS2811 Blade with 144 leds
WS2811 Blade with 144 leds
Scanning sound font: font1 done
Activating monophonic font.
unit = 0 vol = 0.50, Playing font1/boot.wav
channels: 1 rate: 22050 bits: 16
Motion setup ... done.
Amplifier off.
Welcome to TeensySaber, type 'help' for more info.
The resistance value seems quite strange.
I connected the LED strips according to the configuration on the website for 2 Neopixels and 1 momentary button.
Can someone please help? I haven't been able to find the solution.