Particle.io Photon and fastled.io  March 8th,

Particle.io Photon and http://fastled.io March 8th, 1016

I am once again trying to get these working…

I have my photon locked to firmware version XXXXXXXXXXXXXXX

  1. I am using the Web IDE.

  2. I go to Libraries section, search for and select FASTLED. V3.1.5 is the only version that is available, so I select it.

  3. On the file list under FASTLED, I select DEMOREEL100.INO. Then click on the button at the bottom of the file list.

  4. This returns me to the Particle Apps ‘screen’ creates a new app with DEMOREEL100.INO in the editor window.

  5. Click button to build app and I get error message…

demoreel100.cpp:1:29: fatal error: FastLED/FastLED.h: No such file or directory
#include “FastLED/FastLED.h”
^
compilation terminated.
make[1]: […/build/target/user/platform-6demoreel100.o] Error 1
make:
[user] Error 2

Question to those you using the Photon, How are you getting it to build??

-John

I’m using the Particle Dev IDE: https://www.particle.io/dev

Using it, you just create a FastLED directory in your sketch directory and copy the contents of the firmware directory: https://github.com/focalintent/FastLED-Sparkcore/tree/master/firmware

Here’s a simple example, try it and let me know if you still have any issues: https://github.com/jasoncoon/FastLED-Photon-Blink-Example

Hi Jason,

Thanks! Using your example and the copy of FastLED you included in it, I can compile both your test, as well as demoreel100. I will need to rewire my project before I can test it.

However, If I download the master and set it up the directory structure just like yours I get errors.

For now, I guess I can just use the version that you provided. At some point I may try to figure out what is happening, but these tools suck!

The current master doesn’t support Photon. You need to use one of the several ports that exist. I find that Eclipse with a local copy of FastLED works best though. You can find a lot of different how-to’s for getting Photon building with Eclipse.