Hello everyone. My first post here.

Hello everyone. My first post here. So I’ve been enjoying using FastLed for a little bit now on my NodeMCU microcontrollers. However, I wanted to learn to develop for RaspberryPi and was disappointed that FastLED doesn’t support the Pi. I understand their reasoning for not including it. I took it upon myself to “port” FastLED to be able to run on the Raspberry pi, and this is what I have so far: https://github.com/ahettlin/PiLED. It’s not quite a direct port, but it works really well. Right now, it only supports one strand of APA102 (Dotstar) leds on the SPI interface.

Here are two videos of a project that uses the library. It reads midi events and lights up parts of the strip accordingly. I used these two songs as performance benchmarks, so they’re a bit intense :wink:


Let me know what you think!

I seem to remember someone else porting the library for a RPI, but I’m not sure. Search this forum…

Looks like it’s working pretty well! That’s a lot of MIDI activity. Nicely done.

Really nice work and effects !! How many leds are u using ?

@Yves_BAZIN Thanks! That is 300 LEDs on that strip

@marmil Thank you!

@Jeremy_Spencer I had looked to see if anyone had done it before starting my “port”, but I also hadn’t found this group yet. Oh well :slight_smile:

Very impressive! Now, someone (with skillz [not me]) should look at doing this for plain old NeoPixel/WS2812 LEDs. I would be over the moon to beta test.

@Jeff_Mizener , check out this post
https://plus.google.com/101306036890333195277/posts/RQTwKBHChh9

@Jeremy_Spencer Thank you! Although there is no FastLED for RPi and the WS281x, there are a couple of Python libraries that allow control of WL281x LEDs. They seem to make use of the BCM2835’s PWM module. I haven’t tried any of them, but I will within the week.