WS2803 versus WS2801

The next question is trying to figure out how to address individual outputs. With Adafruit's WS2801 library, it turns the outputs on in groups of 6. So if I send it Color(r, g, b) with r=255, g and b=0, I get ouputs 0, 3, 6, 9, 12, and 15 turned on. If I send r=0, g=255, and b=0, the next set of outputs come on, 1, 4, 7, 10, and 16. And with b=255, r and g=0, the last set comes on, 2, 5, 8, 11, and 17.

I think it's possible to address each one separately, it's figuring out how to change the library to do that.

Here is an updated version of the library that addresses each LED individually. Have not tested with the WS2803 - just WS2801.

Differences from the WS2801 proper library:
The led count used when creating the object should be the individual LED count
The setPixelColor method takes only one color param due to being single LED.
The getPixelColor method returns a standard 8 bit color value
The example just lights up one after another in a loop.

This should provide an easy starting point for addressing individually. I'll try to find time to test with WS2803 but have circuit questions.

WS2801Single.zip (3.9 KB)