Profile cover photo
Profile photo
Ross Cooper-Smith
14 followers
14 followers
About
Communities and Collections
View all
Posts

Hi folks,

I'm very new to FastLED and Arduino, but I have a few questions I'm struggling with for a project I'm working on.

Is it possible to create palettes and gradient palettes at runtime? All the examples and documentation I'm seeing has these being setup with a define statement.

Similarly, is there an easy way to set the LED type at runtime? With FastLED using different syntax depending on the LED type I suspect I'm going to have to create a function to call the appropriate command to add the LEDs for each set.

What I'm trying to do is hard code as little as possible so my controllers can use multiple types of LED, various LED string lengths, and user defined palettes, but it seems this isn't straightforward in FastLED.

Post has attachment
Wait while more posts are being loaded