Hi Shawn,
Keep me posted, I'd be happy to help test RDM if that's useful.
Here's a snippet of code I'm running in my main loop:
Code:
int read = dmxRx.readPacket(DMXRX_Buff, 1, 512);
if (read > 0)
{
LED_DMXRX_State = 4;
digitalWrite(LED_DMXRX, HIGH);
Serial.print(DMXRX_Buff[0]);
Serial.print(", ");
Serial.print(DMXRX_Buff[1]);
Serial.print(", ");
Serial.print(DMXRX_Buff[2]);
Serial.print(",,, ");
Serial.println(DMXRX_Buff[511]);
}
Basically I'm storing the whole packet, then printing the first three, then the last value. This was so I could double check I was receiving the correct values where I thought they should be. No issues there.
Attached (hopefully) is a screenshot of my serial monitor. The two anomalous areas you see are where I unplugged the XLR, then replugged, then unplugged again.
Like I said, I think it's based on when in the packet I happened to unplug. It isn't a huge deal for my purposes at the moment. In the future I'll probably put in a timeout that zeros the buffer if it detects a drop in DMX.
Let me know if the image didn't work, I will try to attach again.
Josh