The forum has a few examples; one posted by me. I too am using the OpenDMX device for transmitting. Keep in mind that a "real" DMX transmitter transmits much quicker than the OpenDMX device (44Hz). I found that my code worked well when attached to the OpenDMX but didn’t work reliably on a standard lighting console. Have fun!
Bookmarks