Spectrum Shield LED LPD8806 Library Available

I’ve posted a new “LEDSegs” class library for the Adafruit LPD8806 strip with the spectrum analyzer shield at github

https://github.com/ergodic00/Light-Organ-2

The library allows for the easy coding of even very complex effects on the LPD8806 LED strip of any length, and displays can be sound-driven by the Bliptronics spectrum analyzer shield.

The new LEDSegs library includes random sound-driven LED effects, dynamic color modulation, defining segments within sections of the strip, timers, overlaid and spaced segments and custom display routines for segments. It works with the Due and Mega boards and SPI output or speed-enhanced DigitalWrite is recommended for speed, especially with larger strips. I have not tested with other boards, but it won’t work with very limited SRAM.

There are extensive comments in the preamble to LEDSegs.cpp that explain how to use it, and there is also an example Christmas tree display that cycles between 13 different sets of segment displays.

Enjoy