Hello, I need some help with a project I'm working on.

Hello, I need some help with a project I’m working on.
I want to read the type of LED-strip from an sd-card, but I don’t how to actually do that or if it’s even possible.

Summary:
I want to change the NEOPIXEL at runtime to something else:
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);

It can be done, but it’s not easy. FastLED uses templates to compile only what’s being used, to save flash and ram.

You can search this community for “runtime” and “AllPixel”: https://plus.google.com/communities/109127054924227823508/s/allpixel

More thoughts here:
https://plus.google.com/100381267865582812229/posts/dnAHZ3wJq1N
https://plus.google.com/100381267865582812229/posts/dnAHZ3wJq1N

maybe you can compile all your possible strips, and then decide by function which to use later?

Thank you for your help.
I’m trying to make a system that is easy to use and can be configured with an additional program I’m going to write. Because I don’t know which strip type and pin is going to be used, I’m thinking about creating the c code from the settings and then uploading it in the backround via the arduino ide (command line).

That way I could still benefit from the templates while also giving the user a nice gui for setting everything up.