I have the same code running both a WS2811 and WS2801 set. On the WS2811, some of my patterns aren’t quite right - e.g. a colour fade starts at the right colour but then is all white during the fade. Just to clarfy - it looks fine on the WS2801. What could be happening? Thanks in advance!
There’s pretty much no information here that’d be helpful to actually figuring out what is going on, for example:
- What branch/version of the library are you using?
- What hardware are you running it on? (Arduino Uno, Due, Teensy 3, raw atmega328?)
- What version of the arduino software are you using, and on what OS?
- Can you post the code that you’re using for both cases to http://gist.github.com or http://pastebin.com?
Yeah - sorry. I was just hoping it was a common mistake, and someone would go “ah, you’ve forgotten to blah…”
FastLED 3.1 / WS2801 on Due 1.5.8 / WS2811 on Mega 1.0.6
The code… well, there’s too much to post quickly. I’ll see what I can do, but if anyone has some thoughts in the meantime…
Actually, I’ve already posted the code for a pattern that I get the problem with:
this will be the WS2801 version. the WS2811 won’t be SPI (obviously), so runs off pin 13
So you have lots of wild differences in there between the two platforms - there’s a lot more changed than “just” the leds that you’re using (for example, the Due is a 32-bit arm platform while the mega is an 8 bit avr platform).
That said, make sure you have the latest version of FastLED 3.1 as i’ve been regularly tweaking the avr code (it’s a development, not a release branch after all) - and which arduino mega are you using, the 2560 based one?
Also - try using the released FastLED 3.0.3 branch and see if that changes things.