Hi all, Has anyone ( Jason Coon ??) got TwinkleFox2015 working with the Particle

Hi all,

Has anyone (@Jason_Coon ??) got TwinkleFox2015 working with the Particle Photon?

I’ve pressed on, and got the latest FastLED3.13 included in Particle Dev. However on compiling there are a load of errors starting with: “’::scale8’ has not been declared - pixeltypes.h:363:13”

I’m guessing it doesn’t like the phrasing of ‘::’ (Daniel/Mark doing some low level clever stuff)

Any ideas?

You need to find the 3.0.3 version of FastLED for the photon. The latest is not compatible, and due to their development enviornment, it’s unlikely to be anytime soon. I’ve been using this branch, and it works well, though it’s missing a lot of the cool new stuff. I don’t know if someone else has done the work to get it going, but for now, this is the one I use with a lot of success. Though I build with Eclipse and the command line, not their web UI which is painful for complex projects, or was the last time I used it.

git@github.com:eklex/FastLED-Sparkcore.git

Thanks Peter. I remember that from last year, but for some reason thought that it had all been amalgamated into the latest version. Anyway - I’m back to the FastLED-Sparkcore library, but I still can’t get TwinkleFox2015 to compile.

There are about 15 errors (hard to see in Particle Dev), and can’t cut and paste them, but here’s the top ones:

Do you think that’s it, and it just won’t work being 3.0.3?

Thanks for your time

fb11a7d1f8c2f3d80ea402072e235bda.png

There is no CRGBSet in this version. I miss it too. You’ll need to remove that and replace it with a homegrown function of your own. If you look at the latest, a simple function can do it. Pry won’t take very long.

Oh thanks for that. It’s a shame that Particles are not a priority. There is nothing cooler than being able to control your Xmas lights using a phone app via the Internet! I will post my code when I’ve finished as may get some traction for Particle Photons

It’s a question of priorities and complications. The dev environment for Particle is a bit of a complication for FastLED, so support isn’t as simple as fixing some defines. I get why Daniel isn’t jumping on board. Besides, there are a lot of environments that let you do remote access now, so the Particle environment just isn’t as unique. I actually hope he supports the Adafruit WiCED before the Photon, but I’ll take what I can get when I get it.

Honestly, I think the biggest improvement would be to refactor the code a bit to make it easier to add board support without Daniel and Mark’s help. I’ve tried, but it’s complicated and
i’m not exactly sure what to touch.

Sorry, I’ve almost entirely stopped using Particle boards for this and a few other reasons. I’ll try to find time to get TwinkleFOX working on it soon.

I still use Teensy 3.2 primarily, but I’ve switched to ESP8266 when I need web functionality. I find it has much better library support, better price, and I don’t have to use an online IDE/compiler, with weird library handling.

Hi Jason - It would be great if you could do that. But I’d be happy if I just knew what I could replace “CRGBSet& L” with. Anything with a ‘&’ is a bit beyond my abilities! :frowning: