richclarkson / Sabre

Ambient Lamp
0 stars 1 forks source link

Define LED strip behavior #5

Open sfaletti opened 6 years ago

sfaletti commented 6 years ago

As a Sabre developer, I need to work with a set of preview animations, color schemes, and FFT responses, in order to build the visualization system as intended.

sfaletti commented 6 years ago

It seems like both NeoPixelBus or FastLED will work, though I haven't looked into either that deeply. They're both on PlatformIO's library management system, so that's helpful. I suggested NeoPixelBus as it was a more popular library, but I have no preference beyond that. FastLED just announced they're pausing development due to a personal matter.

richclarkson commented 6 years ago

I'm going to use FastLED for now, for simplicity as it was originally written in that. Im working on a single file at the moment called Animations in rich_new_dev/src

I will keep working on this over the next few days and will let you know when I've got something legible.

richclarkson commented 6 years ago

I wasn't able to do it as an object that extends another library but I would be interested in learning how to do that if you have any links? As a start its a single .cpp file that references the FastLED Library. I've tried to comment and simplify as much as I can, just let me know if you need clarification on any of the sections. Also let me know if you also want me to add in the settings modes animations.

sfaletti commented 6 years ago

Moved this back to ToDo as the Audio Library exploration is prioritized.