therapeutic LED programming

First time playing around with the Adafruit DotStar LED strips, and ended up coding in a total sensory deprivation warehouse all night —

I used the FastLED library to get started, as it is filled with some pretty amazing demo LED sequences that really help you understand the fundamental loop and pattern repetition structures (an LED strip is basically just one long array of RGB integer values that you can program in a loop…)

One of my favorite features of this library was the CRGBPalette16 class that allows you to create a 0-256 indexed range color palette interpolating between a set of color values. This allows for awesome transitioning between colors in loops.

Anyways, I built off of the FastLED library and created a loop that runs through a few of my own sequences to go with a friend’s installation, check out the video/source code below~

link to sourcode on GitHub:

https://github.com/sneha-belkhale/LEDsequences

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s