hdsjulian wrote: ↑Mon Mar 25, 2019 9:29 pm
the bigger question then is, would this ever have the chance to be added to the main branch of micropython or would i forever have to build my own version
My guess is that this wouldn't end up in the main branch; at least not unless it was portable across most/all of the ports. FastLED is not particularly small!
However, there's been a lot of work recently to allow native modules to be loaded at
runtime. It's not
quite ready for prime time but the idea is that it would allow you to build a FastLED module (which would be a C module wrapping the FastLED code, presenting a MicroPython API) that could be loaded with 'import fastled'. It would have to be built for each port but that's manageable.
Damien gave a talk on
Native Modules in MicroPython at our February meetup.
I think it'll be an important feature to allow extending MicroPython cleanly.
Sure, Damien has plenty on his plate and I wouldn't expect colorsys to be high on his list. That doesn't mean it won't be welcomed! I'm certain he'd accept a good-quality PR for colorsys.