LamaDiLuce / polaris-opencore

Open Source development for Polaris lightsaber electronic core, Anima EVO RGBW.
https://www.lamadiluce.it
GNU General Public License v3.0
17 stars 21 forks source link

Feature neopixel ws2812 serial #79

Open f4iey opened 1 year ago

f4iey commented 1 year ago

In this PR, I added a new feature, which allows to enable a neopixel mode in order to use ws2811/2812 RGBW LED strips instead of a classic RGBW LED.

For now, I just implemented the basic functionnality, with linear animations at poweron and poweroff.

The new included libraries for pixel control uses a non blocking method relying on the NXP DMA channel.

FarFlyer commented 1 year ago

This is a very nice addition to the FW. I'll discuss internally the possibility to add the changes in the main release, since the usage of led strips it's not foreseen by Lama di Luce (nevertheless I'm looking forward to trying it, and I MUST do it to accept the PR XD).