My ESP32 DMX library

I spend some time on creating a new DMX512 library for ESP32, since i wasn't to happy with the existing ones.

It uses the RMT peripheral for frame-reset break-detection, and as far as i can tell it is quite a bit more reliable than methods that use timers or the Serial event queue.

i have posted it on Github and i did make some small changes afterwards for issues that showed up while is was implementing it into my own sketches.

If anyone is interested, have a look and share thoughts and give feedback.

2 Likes

Nice, is it ESP32 specific or also usable on other boards?
(Sorry, not looked at the code yet)

Yes it is. The RMT peripheral is not available on other boards. There may also be easier ways to look for the frame-reset break on other boards.