Skip to content
Yet another light weight WS2811 / WS2812 / WS2812b library for Arduino
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
Readme.md
WS2812.cpp
WS2812.h
keywords.txt
light_ws2812.cpp

Readme.md

This Arduino library is based on the code by Matthias Riegler, Windell H. Oskay and Freezy; see https://github.com/cpldcpu/light_ws2812 The low level bit banging is unmodified, originally by Tim aka cpldcpu (cpldcpu@gmail.com)

The original HSV conversion is from the FastLED lib by Daniel Garcia and Mark Kriegsman; see http://fastled.io/

I simplified the use of the original light_ws2812 by removing the cRGB datatype and added direct RGB and HSV access to each pixel. Also a global brightness control has been implemented, similar to the one used in FastLED. Added keywords for syntax highlighting in the Arduino IDE. Changed hue conversion to whole byte range and added getter methods for each color component.

August 4th, 2015

You can’t perform that action at this time.