I am working on a project that allows an Arduino to act as a USB DMX lighting interface. When I made my initial messy program, my code worked flawlessly. However, I want to make it into a library class so that others can make similar devices easily. Unfortunately, my code does not work.
My Arduino Mega does not respond to messages at all. My Teensy responds, but it responds to every message with the label==77 response. I am stumped.
My forum post was more than 9000 characters, so I had to include the files as attachments.
This is my first undertaking of an Arduino class this complex. I believe that the issue is somewhere in the serial pointer.
Simple_Test.ino (1.63 KB)
DMXUSB.cpp (6.43 KB)
DMXUSB.h (1.87 KB)