All the code for the DMX to RGB LED interface