Hi All! I have a fairly large build in progress and recently realized there are parallel output capabilities for the due and FastLED. I’ve been trying to set up a simple test to make sure it was all working, but I haven’t been able to get it to run properly. I have successfully run the ParallelOutputDemo in the examples, so I know that parallel output works to a degree.
My code is very simple, I’m just trying to fill each of my strips with a different color using the fill_solid method and reading in a color from a palette. However, when I power on my setup the LED’s all illuminate one color and the power cables get hot very quick. What am I missing? Can I not use methods like fill_soid or fill_palette with the parallel output array? Thanks in advance for taking a look!
#include<FastLED.h>
#define NUM_LED 90
#define NUM_STRIPS 8
CRGB leds[NUM_STRIPS * NUM_LED];
// WS2811_PORTD: 25,26,27,28,14,15,29,11
//
const CRGBPalette16 test(CRGB::Red, CRGB::Blue, CRGB::Orange, CRGB::Purple, CRGB::Yellow,
CRGB::Green, CRGB::White, CRGB::Pink, CRGB::Black, CRGB::Black,
CRGB::Black, CRGB::Black, CRGB::Black, CRGB::Black, CRGB::Black, CRGB::Black
);
void setup() {
LEDS.addLeds<WS2811_PORTD, NUM_STRIPS>(leds, NUM_LED).setCorrection(TypicalLEDStrip);
LEDS.setBrightness(32);
}
void loop() {
for (uint8_t ss = 0; ss < NUM_STRIPS; ss++) {
fill_solid(&(leds[ss * NUM_LED]), NUM_LED, ColorFromPalette(test, ss * 16, 32, LINEARBLEND));
}
LEDS.show();
LEDS.delay(10);
}