Hey,
the attached file let’s you control an LPD8806 based color LED strip with an Arduino.
he equipment I’m using is this:
First you need to download and install the LPD8806 files for your ardunio environment.
Next compile and upload the Arduino Sketch which is docked to the DigitalLED COMP inside the attached file.
The file uses the setting where you connect the LED Strip to the SPI pins on your Arduino board. For the Arduino Mega, use pin 51 for the data cable and pin 52 for the clock.
Once successfully uploaded, go into the DigitalLED COMP and make sure the correct Com Port is selected in the Serial DAT called serial1.
Now click the “Activate” Button and you should be seeing the LED strip driven by the texture which is attached to the first input of the DigitalLED COMP.
The 2 inputs to the COMP work in such a way that the SOP input (second input) is the lookup into the TOP input (first input)
This way you can specify the shape of you LED Pixel Strip and assign the colors very visually. Just make sure that the SOP has as many points as there are LEDs on your strip. (in my case that is 160 rgb LEDs)
Hope this is of some use.
Cheers
Markus
LEDPixels.22.toe (9.05 KB)