Hi I want to use FastLED to drive multi chanel of Led strip like

Hi
I want to use FastLED to drive multi chanel of Led strip like MultipleStripsInOneArray.ino.
When I upload it on DUE it dosn’t have any output in DUE pins.
I try FastLED2.1,…
please help me

Thanks a lot

Hi!
Do you mean FastLED 2.1 or really 3.1? (3.1 is latest from GitHub)

And have you tested single output working yet?

There is couple of example to run multi channel on single chip and so handful to run

I test FastLED 2.1 , 3.0.1 , 3.0.3
Yes I tested single output too but I have the same problem.
I use arduino 1.5.8
Thanks

are you sure , your IDE configured correctly ?

Ok. Before we go too much further, try FastLED3.1 (from github), and Arduino 1.6.4 – both the latest, and it will help simplify debugging.

What kind of LEDs are you using? (WS2811?)

@Hamid_s_k Thanks mohandes!
Can you introduce me a solution.
Yes my IDE configured correctly.

@Mark_Kriegsman I use ws2812.
I’m downloading Arduino 1.6.4, after download I will try it.
Thanks

I’ll send you couple of example

#include <FastLED.h>
#define BRIGHTNESS 255
#define LED_TYPE WS2811
#define COLOR_ORDER GRB
#define UPDATES_PER_SECOND 100
#define NUM 12
#define DUR 5

#define PIN5 5
#define PIN3 3
#define PIN4 4
#define PIN9 9
#define PIN6 6
#define PINA2 A2
#define PINA1 A1
#define PIN10 10

#define LEDS5 150
#define LEDS3 150
#define LEDS4 150
#define LEDS9 15 //////////
#define LEDS6 15
#define LEDSA2 150
#define LEDSA1 150
#define LEDS10 150

CRGB leds5[LEDS5];
CRGB leds3[LEDS3];
CRGB leds4[LEDS4];
CRGB leds9[LEDS9];
CRGB leds6[LEDS6];
CRGB ledsA2[LEDSA2];
CRGB ledsA1[LEDSA1];
CRGB leds10[LEDS10];
static uint8_t ColorStartIndex = 0;
uint8_t brightness = 255, Density=1;
CRGBPalette16 currentPalette= RainbowColors_p;
TBlendType currentBlending= BLEND;

void setup() {
Serial.begin(115200);delay( 500 ); // power-up safety delay

FastLED.addLeds<LED_TYPE, PIN5, COLOR_ORDER>(leds5, LEDS5);
FastLED.addLeds<LED_TYPE, PIN3, COLOR_ORDER>(leds3, LEDS3);
FastLED.addLeds<LED_TYPE, PIN4, COLOR_ORDER>(leds4, LEDS4);
FastLED.addLeds<LED_TYPE, PIN9, COLOR_ORDER>(leds9, LEDS9);
FastLED.addLeds<LED_TYPE, PIN6, COLOR_ORDER>(leds6, LEDS6);
FastLED.addLeds<LED_TYPE, PINA2, COLOR_ORDER>(ledsA2, LEDSA2);
FastLED.addLeds<LED_TYPE, PINA1, COLOR_ORDER>(ledsA1, LEDSA1);
FastLED.addLeds<LED_TYPE, PIN10, COLOR_ORDER>(leds10, LEDS10);

}

void loop()
{

// ChangePalettePeriodically();
ColorStartIndex = ColorStartIndex + 1; /* motion speed *///set start of palette
uint8_t j=ColorStartIndex;
for( int i = 0; i < LEDS9; i++)
{
leds9[i] = ColorFromPalette( currentPalette, j, brightness, currentBlending);
j += Density;
}
FastLED.show();
FastLED.delay( 100);
}

Thanks, my problem solved with FastLED3.1
I want to use ParallelOutput with DUE. when I use this code:

42.// Set the first n leds on each strip to show which strip it is
43. for(int i = 0; i < NUM_STRIPS; i++) {
44. for(int j = 0; j <= i; j++) {
45. leds[(i*NUM_LEDS_PER_STRIP) + j] = CRGB::Red;
46. }
47. }

Color of led is not correct(Is not Red!)
In first strip, first LED is a bit blue and the second LED is Green! and when I change line 45 to Green, the first led become red and blue and the second LED become off, and when I change line 45 to blue, the first LED become off and the second become red! I think in shift data is a problem or my DUE frequency isn’t match with this library!

please help me…
Thanks

Have you run the RGB calibrate sketch for your strips?

Yes, the problem isn’t this. LEDs blinking that I think a or mor bit shifted badly!

Doesn’t the DUE run at 3.3V? Maybe your setup would befit from a 74HCT245 level converter on the Data line. The ws2812 strips might be more happy if they are receiving a 5V data signal.

Thank, that’s right, I must convert level.

Thanks a lot ,my problem solved with convert level.