r/FastLED • • Jul 18 '25

Announcements MoonModules v0.5.7

/r/MoonModules/comments/1m2zg6v/moonmodules_v057/
10 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/ewowi Jul 18 '25 edited Jul 18 '25

Hpwit driver: in fact there is nothing new but I mean the regular / physical pins library and the virtual pins library, but also standard esp32 and esp32-S3. That are currently 2x2=4 libraries, zie also the article I wrote. And in the future we want also P4 support (physical and virtual), that would mean another 2 repos (all repos share partly same code, now slightly different in each repo). + the current 4 repos have a lot of #defines which I would like to be variables, plus there are no .cpp files. All this is solved by merging everything into one refactored repo. See ESP32-LedsDriver, okay currently I go wild on multiple inheritance (you love me or you hate me 🙂), I might turn that into composition

1

u/ewowi Jul 18 '25

Another advantage of one repo is that I don’t get an explosion of firmware bins to distribute: for all esp32 types * 3 (FastLED / physical driver / virtual driver) . With one repo * 1, not * 3

0

u/[deleted] Jul 19 '25

[deleted] — view deleted comment

1

u/ewowi Jul 19 '25 edited Jul 19 '25

I will transfer ownership of ESP32-LedsDriver to /u/hpwit when ready, he has MIT, so I will change this to MIT too !

1

u/ZachVorhies Zach Vorhies Jul 19 '25

wow i sleep walked that last comment!!!

1

u/ZachVorhies Zach Vorhies Jul 19 '25

The news about the I2S driver is that expressive said they’ll never support it. They supposedly have a new driver though with some sort of direct IO that’s ok the works.

1

u/ZachVorhies Zach Vorhies Jul 19 '25

So the virtual pins and I2S clockless library require a rectangular buffer. This is handled automatically in FastLED. I don't see this in your driver. Something you might want to add.