TLC5941

TLC5941 is a high-level object-oriented Arduino library for driving large numbers of LEDs using the Texas Instruments TLC5941, TLC5940, and TLC59401 LED drivers. The library was originally written to support the Railstars LED Intruder LED driver board.

The library is broken into four main classes: The Controller class, which handles all the hardware related stuff, the TLC5941 class, which acts a proxy for each actual TLC5941 (and will be extended to cover TLC5940′s shortly), the Light class, which acts as a proxy for each actual string of LEDs attached to the TLC5941′s, and the FX class, which is a base class for deriving new effects (e.g., for implementing Cylon/KITT style flashers, or POV renderers).

TLC5941 is fully open-source software, and is released under the terms of the LGPL.

More detailed documentation is currently pending, although the code does include an example sketch to demonstrate usage.

You can download TLC5941 from github; bug reports, contributions of code are welcome. Please do leave a note if you use TLC5941 in your project.

Please note that at this time TLC5941 is beta software, and is not feature complete, although it does generally work.