cpldcpu/light_ws2812 — pull request #12 by oskay (2014-09-07 19:59:57+00:00)
Title: Arduino: Add option to change color orders & add new example.

Some simple changes to the Arduino library. Adding the option to change the order of color transmission "on the fly" with functions: setColorOrderRGB(), setColorOrderBRG(), and setColorOrderGRB(). Default behavior is respected, and the original example file works without changes.

Added a second demo Arduino sketch, that sets the color order of LEDs to red, green, and blue sequentially, so that one may try out and observe the effects of the added functions.

Updated ZIP file to match as well.

Resubmitting this pull request after whitespace cleanup.