# Update on Library support (eg FastLED)

**URL:** <https://community.particle.io/t/update-on-library-support-eg-fastled/4252>\
**Category:** Libraries\
**Created:** [May 8, 2014, 8:04pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252 "2014-05-08T20:04:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kriegsman](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kriegsman/32/82_2.png) [@kriegsman](https://community.particle.io/u/kriegsman)\
**Post date:** [May 8, 2014, 8:04pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/1 "2014-05-08T20:04:33Z")

</div>

Hello industrious and inventive SparkCore crew!

Could you share with us any updates on a likely timeline for support of Libraries? In particular, I’m interested in when we might start seeing support for large, multi-file libraries. Our “FastLED” library is about 25 source files, plus more than a dozen example sketches. We’re eager to get FastLED ported to SparkCore, but the current state of the SparkCore IDE is a bit prohibitive (that’s a lot of files to add to every sketch), not just for us as library developers, but also for our (mutual) users.

The last update that I think I saw of this topic was on the blog in February. [http://blog.spark.io//2014/02/10/sprint-five/](http://blog.spark.io//2014/02/10/sprint-five/)

Any new updates to share? Even a broad rough timeline would be helpful, like “we hope to have something to share this spring” or “we’re hoping to get to it in the fall” would help us set expectations and prioritize our support and porting work.

Thanks very much for all your work so far; I love recommending the SparkCore to people and can’t wait to be able to start porting FastLED, too, and see what people can do with the two together.

Cheers-  
-Mark

---

<div class="post-metadata">

**Author:** ![wgbartley](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/wgbartley/32/1910_2.png) [@wgbartley](https://community.particle.io/u/wgbartley)\
**Post date:** [May 8, 2014, 8:47pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/2 "2014-05-08T20:47:29Z")

</div>

I can’t put an exact date on it, but it is in active development. I think the timeframe is the next 2-4 weeks. There’s a lot of work making sure we get the library spec just right so that it’s easily extensible and backwards compatible when future updates are released.

---

<div class="post-metadata">

**Author:** ![Dave](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/dave/32/181_2.png) [@Dave](https://community.particle.io/u/Dave)\
**Post date:** [May 8, 2014, 9:11pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/3 "2014-05-08T21:11:10Z")

</div>

Hi @kriegsman,

Good question! Lots of progress has been made on library support, and we’re in the final polishing stages now. @wgbartley is right and we’re hoping to have something released and ready for your library in the next sprint (2-3 weeks).

Thanks!  
David

---

<div class="post-metadata">

**Author:** ![kriegsman](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kriegsman/32/82_2.png) [@kriegsman](https://community.particle.io/u/kriegsman)\
**Post date:** [May 8, 2014, 9:27pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/4 "2014-05-08T21:27:49Z")

</div>

Fantastic, and thank you for the update. We’re happy to help you test, when the time comes, too.

We don’t have STM32 support yet, but once the library dev loop is up and going, we’ll be able to get to work. We already have fast hardware-level support for SAM and K20, so we’re already in the neighborhood.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [May 8, 2014, 11:54pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/5 "2014-05-08T23:54:12Z")

</div>

@kriegsman,

If you would love to see a screenshot of the library,

> **[Feature: LIBRARIES PORTING Spark Style :D](https://community.particle.io/t/feature-libraries-porting-spark-style-d/4214)**
>
> Hey :spark: community, I would just start off to say that the :spark: team and :spark: Elite do hear and value all your feedback/request and prioritize the must-have features to be focused on during each Sprint. So you will be hearing some updates...

I’ll be updating that thread whenever we make progress 😉

---

<div class="post-metadata">

**Author:** ![ekbduffy](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ekbduffy/32/2962_2.png) [@ekbduffy](https://community.particle.io/u/ekbduffy)\
**Post date:** [May 9, 2014, 7:45am UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/6 "2014-05-09T07:45:29Z")

</div>

@kriegsman, hello, Mark, i’ve waited your library for a long time:)  
First of all- most of advanced spark users, as i know, uses local compile and upload tools.  
Secondly - if you need i can share to you my code of DMA data transfers to leds:)

---

<div class="post-metadata">

**Author:** ![psb777](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/psb777/32/934_2.png) [@psb777](https://community.particle.io/u/psb777)\
**Post date:** [May 10, 2014, 10:40am UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/7 "2014-05-10T10:40:11Z")

</div>

If I may add a plea for some updated documentation in this (and other) areas. There is folklore / verbal history / notes here / stuff known only to those who have buried themselves in the code which need to be folded back into the docs. Even the COMPLETE list of what libraries and functions are available is not easily discernible. E.g. the advice which is given readily on the forum to include math.h to get access to a few more functions needs to be documented. If I just don’t know where to look please slap my wrist but TELL ME. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![sjunnesson](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/sjunnesson/32/2018_2.png) [@sjunnesson](https://community.particle.io/u/sjunnesson)\
**Post date:** [August 5, 2014, 3:35pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/8 "2014-08-05T15:35:45Z")

</div>

any updates on the support for multi file libraries? and the progress of porting the FastLed library?

---

<div class="post-metadata">

**Author:** ![savage](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@savage](https://community.particle.io/u/savage)\
**Post date:** [November 7, 2014, 3:55am UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/10 "2014-11-07T03:55:53Z")

</div>

Here, here! Would love to use FastLED w/ Spark Core. Any news on this?

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [November 7, 2014, 4:29am UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/11 "2014-11-07T04:29:26Z")

</div>

Can another post the link for library of interest?

Library feature has been available for awhile and I can attempt to port it 🙂

---

<div class="post-metadata">

**Author:** ![savage](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@savage](https://community.particle.io/u/savage)\
**Post date:** [November 7, 2014, 4:53am UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/12 "2014-11-07T04:53:08Z")

</div>

> **[FastLED/FastLED](https://github.com/FastLED/FastLED)**
>
> The main FastLED library (successor to FastSPI\_LED). Please direct questions/requests for advice to the g+ community - http://fastled.io/+ - we'd like to keep issues to just tracking bugs/enha...

Thanks

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [November 7, 2014, 5:05am UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/13 "2014-11-07T05:05:23Z")

</div>

This library is using a ton of platform specific functions!

Porting it is going be painful. 😛

Any reason why this library is preferred?

---

<div class="post-metadata">

**Author:** ![savage](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@savage](https://community.particle.io/u/savage)\
**Post date:** [November 7, 2014, 7:59am UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/14 "2014-11-07T07:59:03Z")

</div>

Yes. In short: FastLED is faster and better for controlling LEDs.

For LED projects where controlling subtleties of color and animation are important, issues like color correction, ability to scale brightness while preserving color predictably, dithering/fading between items in an animation, etc. are important. FastLED provides more robust tools to cover lots of that stuff than the Neopixel library which is bare bones. (And there are lots of projects being shared among people who are crafting cool LED mojo in FastLED, lots of stuff evolving there to work from rather than starting over from scratch).

(FadeCandy offers some of that functionality too, as an alternative, though I’m not sure whether FadeCandy has as active a community): [https://github.com/scanlime/fadecandy](https://github.com/scanlime/fadecandy)

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [November 7, 2014, 3:16pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/15 "2014-11-07T15:16:12Z")

</div>

@savage, in the FastLED github readme file:

> What types of platforms are we thinking about supporting in the future? Here's a short list: RFDuino, SparkCore, MSP430, ChipKit32, Maple, Beagleboard

So it seems that there will be support for the Core at some point. 😄

---

<div class="post-metadata">

**Author:** ![savage](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@savage](https://community.particle.io/u/savage)\
**Post date:** [November 7, 2014, 9:48pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/16 "2014-11-07T21:48:05Z")

</div>

@peekay123 – Yes, I saw that. But then I saw the first message in this thread by @kriegsman , which implies that the FastLED crew need some evolution in the SparkCore IDE before libraries as large as FastLED can be supported. (Am I reading that first message wrong, or is there a block that FastLED is waiting on?)

Thanks,

Sean

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [November 7, 2014, 10:11pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/17 "2014-11-07T22:11:12Z")

</div>

@savage, I believe they are waiting for better multi-file library support in the IDE. However, they could release a Spark version that can be compiled locally or with Spark CLI!

---

<div class="post-metadata">

**Author:** ![kriegsman](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kriegsman/32/82_2.png) [@kriegsman](https://community.particle.io/u/kriegsman)\
**Post date:** [November 7, 2014, 11:05pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/18 "2014-11-07T23:05:19Z")

</div>

Hi all! Yes- Dan and I are eager to get FastLED fully ported to the SparkCore IDE. We’ve been plenty busy releasing v3 (out now), and the v3.1 branch has parallel output on several ARM boards and interrupt-friendliness on both ARM and AVR. What with all that, we haven’t kept super current with SparkCore IDE support for multiple files – through we had some good talks with the SparkCore folks at Maker Faire SF a little while back.

I’ll use this conversation as a reminder to go check out multi-file support and see if we can get going.

We (or anyone else–open source!) could make a version “compacted” into a single file, but as you might imagine, we’d rather get full support for everyone using the SparkCore IDE if we have a choice.

We think FastLED and SparkCore are a great combination, and we’re hoping we can make them work together really well!

---

<div class="post-metadata">

**Author:** ![bongo](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@bongo](https://community.particle.io/u/bongo)\
**Post date:** [February 3, 2015, 8:58pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/19 "2015-02-03T20:58:17Z")

</div>

Any update on getting FastLED ported to the SparkCore IDE?

---

<div class="post-metadata">

**Author:** ![dgarcia](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dgarcia](https://community.particle.io/u/dgarcia)\
**Post date:** [February 7, 2015, 9:35am UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/20 "2015-02-07T09:35:05Z")

</div>

After a summer/fall filled with a contract job eating up all of my free time I’m finally grabbing the SparkCore dev tools to work on doing the library port. Initially, I’m going to be doing the port for the spark CLI. The IDE compatible version of the library may take a little bit longer to get done (mostly because I don’t want to have to maintain a separate tree just for supporting the spark core web ide).

---

<div class="post-metadata">

**Author:** ![bongo](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@bongo](https://community.particle.io/u/bongo)\
**Post date:** [February 7, 2015, 12:50pm UTC](https://community.particle.io/t/update-on-library-support-eg-fastled/4252/21 "2015-02-07T12:50:32Z")

</div>

Thanks Daniel. Really appreciate all the work you do for the FastLED community!

As someone who does a fair amount of contract work on top of a full time job, I appreciate the tension between the paying gig and the creative projects I would rather be working on.

B

[Next page](https://community.particle.io/t/update-on-library-support-eg-fastled/4252.md?page=2)
