Profezzorn,
So I've gotten to the point where I have my Teensy Saber electronics working (sort of). There are two issues I can't seem to figure out.
The first is that the "aux2" button doesn't seem to trigger. It's not a wiring issue either because I've jump'ed the Teensy pins to GND and both other buttons ("pow" [pin 16] and "aux" [pin 15]) function but the "aux2" button (pin 17) doesn't seem to do anything (it doesn't show being triggered in the serial monitor either). I'm assuming that this is preventing me from selecting the next preset. I can however use the "next pre" command in the serial monitor and step through all my presets. I did change the touch button to a normal button using the change I found in an earlier post (see below).
// CONFIGURABLE, use "monitor touch" to see the range of
// values from the touch sensor, then select a value that is
// big enough to not trigger the touch sensor randomly.
// power_(powerButtonPin, 1700, "pow"),
power_(powerButtonPin, "pow"),
aux_(auxPin, "aux"),
aux2_(aux2Pin, "aux2") {}
Any ideas what is wrong? Am I expecting the buttons to function correctly? If not, how should I step through the presets?
My second issue is most likely a blade array configuration issue. My blade is a pair of 144 LED WS2811 compatible RGB strips. I've tested them all individually using a test rig I built using an Arduino Uno and every LED lights and changes colors correctly. I've configured my BladeConfig as follows...
BladeConfig blades[] = {
#ifdef ENABLE_WS2811
{ 10000, WS2811BladePtr<144, WS2811_800kHz | WS2811_GRB>(), CONFIGARRAY(my_presets) },
#endif
};
I've configured "my_presets" as follows...
Preset my_presets[] = {
{ "", "", StyleNormalPtr<GREEN, WHITE, 300, 800>() },
{ "", "", StyleNormalPtr<BLUE, WHITE, 300, 800>() },
{ "", "", StyleNormalPtr<CYAN, WHITE, 300, 800>() },
{ "", "", StyleNormalPtr<RED, YELLOW, 300, 800>() },
{ "", "", StyleNormalPtr<MAGENTA, WHITE, 300, 800>() },
{ "", "", StyleNormalPtr<YELLOW, RED, 300, 800>() },
{ "", "", StyleNormalPtr<WHITE, RED, 300, 800>() },
};
So here's my issue... I am getting a sparkling rainbow of colors when the blade animates on and off. The sparkling rainbow appears in the portion of the blade that shouldn't be lit. Any idea what could be wrong and how to correct it?
You should also note that I'm using the SerialFlash on the Prop Shield to store my single Soundfont (I do not have the SD Adapter connected and instead connected MISO, MOSI and SCK through to the Teensy 3.2 so I could access the SerialFlash). This is why I left the directory/folder name blank in all my presets. I also don't have any music tracks loaded... just the following in the root folder of the SerialFlash...
\teensytransfer>teensytransfer -l
47404 clash1.wav
49580 clash2.wav
56492 clash3.wav
37676 clash4.wav
78636 clash5.wav
30508 clash6.wav
23980 clash7.wav
25644 clash8.wav
28076 poweroff1.wav
75820 poweron1.wav
28332 swing1.wav
43436 swing2.wav
89516 swing3.wav
23980 swing4.wav
25644 swing5.wav
54316 swing6.wav
23852 swing7.wav
22444 swing8.wav
89134 hum1.wav
All of these sound effects work without issue.
Thanks in advance for your help.