The reception of DMX siganl with a Microcontroller no longer is a problem. However, there are a few basic points to consider. The basic framework is already receiving the DMX signal and places it in a "buffer".
The code still needs to be complemented at the output of multiple channels and a query a code switch to the start address of destination. Alternatively, it can be done with buttons and a display. Both require some pins of the microcontroller, which then no longer usable as outputchannels. Therefore display and buttons in the following project are controlled via I2C.
Since the Bascomversion 1.11.9.4 DMX-reception via high-level command is supported. The configuration is done with: Config Com1 = Dmxslave, channels = 16, start = 3, store = 1!