DMX input

I am trying to use a preset DMX control wall panel that has pre-assigned DMX channels for each color channel to control WLED. is there a way to get a DMX signal into an ESP32 by using a max548, then setting what channel DMX controls RGB? i have tried to use Visual Studio Code, but I cannot get this to work, as I am not great at coding. Any ideas on what could be done or if this would be a future integration?

The control panel is like the one below.