https://github.com/FastLED/FastLED/wiki/Multiple-Controller-Examples#managing-your-own-output I copy/pasted the code at the bottom of the page under "Managing your

I copy/pasted the code at the bottom of the page under “Managing your own output” into Arduino IDE, tried to compile, but it failed.

I updated FastLED 3.1 on Jan 27th.
Arduino 1.6.5 on windows 8.

Aside from correcting the CRGB::Greem spelling error, I’m at a loss.

Am I missing something?

Later Arduino IDE perhaps?

Thanks.

Re-read the page - I just made a change to it because I did some re-writing of the low level controller interface recently.

Also - make sure you have the most recent version of the library from github.

Finally, it’d be really helpful in the future if you provided the compiler output than just saying “but it failed” - means I don’t have to guess at what problem you’re seeing.

Hi Daniel,

I updated FastLED, refreshed the page, copy/pasted the code, but still have errors.

Posted here:

http://pastebin.com/ysiheD0m

Thanks

Take out the semi colon on this line:

#define NUM_STRIPS 4;

Also the full solid calls need the number of LEDs passed into them, I’ll update the wiki page.

AAAARRRRGGGGHHH !

I should have caught that semi colon myself.

Made all corrections, this works…
http://pastebin.com/116gFgn2

Many Thanks !!

because of…
#define NUM_LEDS_PER_STRIP 80

fill_solid(leds, NUM_LEDS, CRGB::White);
compile errors.

fill_solid(leds, NUM_LEDS_PER_STRIP, CRGB::White);

one more change needed …
in setup, still NUM_LEDS_PER_STRIP

Easier to delete from the phone :slight_smile:

Perfect!

BTW, I noticed the error codes had two references with colons… sketch_feb14a.ino:11:3: etc.

“11” is the line number, but what does the “3” refer to?

Just a FYI for anyone else curious about the second number. It’s the number of the character in the line where the compiler stopped. 3rd character of line 11.