This is a lead project for DMX programming on the Microchip PIC24 series in Microchip C. The code has three modules - DMX receive, DMX transmit, and RS232 communication but an architecture which will allow its expansion.
The main program has a digital input which selects between Receive and Transmit, and one which enables RS232 communication.
The DMX universe should be received and stored in an accessible array.
The RS232 should allow a subset of the DMX_Array(start slot, number of slots) to be sent via RS232
About one hundred lines of code.