MoonModules / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi! MoonModules adds features on top of upstream.
https://mm.kno.wled.ge
European Union Public License 1.2
228 stars 70 forks source link

WiP - Replace SparkfunDMX with esp_dmx #49

Closed netmindz closed 8 months ago

netmindz commented 1 year ago

Reports of poor output, so try swapping to the newer and more complete esp_dmx library

set either the RX or TX pin number for send/receive then do full reboot

arneboe commented 1 year ago

Hey, do you need any help with this PR? Currently I am using my own hacked (and very outdated version) of wled with a custom esp_dmx usermod but would like to migrate to moonModules.

netmindz commented 1 year ago

Hi @arneboe

I wrote this while the code was familiar after writing the dmx INPUT support, but didn't have hardware setup at the time to test.

If you could give it a test and report back that would be most useful

arneboe commented 1 year ago

When dmx_driver_install is called, wled does no longer open a wifi hotspot. I am not sure why this happens, yet. As soon as I remove the call to dmx_driver_install wled opens a hotspot and everything works fine.

Before I start digging any deeper, I will update to the latest version of esp_dmx and see if the bug is still present.

netmindz commented 1 year ago

When dmx_driver_install is called, wled does no longer open a wifi hotspot. I am not sure why this happens, yet. As soon as I remove the call to dmx_driver_install wled opens a hotspot and everything works fine.

Before I start digging any deeper, I will update to the latest version of esp_dmx and see if the bug is still present.

My first guess is that it's an interrupt clash rather than any bug with esp_dmx