sblantipodi / glow_worm_luciferin

Bias Lighting and Ambient Light firmware, designed for Firefly Luciferin.
GNU General Public License v3.0
158 stars 19 forks source link

Add SPI support for WS2801 #62

Closed krisrok closed 8 months ago

krisrok commented 8 months ago

To avoid messing with PC host application there is no additional color mode, it replaces the RGB/UART mode. Therefore, SPI support has to be activated via RGB_SPI directive. See env:glowwormluciferinlight_spi_esp8266 in platformio.ini.

Uses GPIO2 as DATA and also GPIO4 as CLK.

sblantipodi commented 8 months ago

Hi @krisrok, I'm sorry for the late reply but holidays added a bit of delay to my answers :)

I have reviewed your PR and it seems that it lacks a lot of features that are required to add support for a new led strip:

I always appreciate pull requests and thank you very much for taking time in creating it, said that this PR can't be merged in this state.

There is even another thing. Luciferin is a new project and I would like it to remain as light and fast as possible, for this reason I would prefer not to add support for "old LED strips or old microcontrollers".

It is obviously in everyone's interest to add support for new technologies, new microcontrollers and new LED strips but adding support for products that will be dismissed soon doesn't add much.

krisrok commented 8 months ago

No hard feelings, thanks for taking a look.

The PR was more of a PoC for my personal use and meant to spark your interest. I totally understand you don't want to support old strips, the WS2801 is pretty niche by now.