Hi there
As PaulS said, the function OnFrameReceiveComplete() is not defined in your program. In the sample program, it is (see below).
I don't know if this is a generic function which you can just paste into your program, or if you need to write a specific version to meet your requirements.
void OnFrameReceiveComplete (unsigned short channelsReceived)
{
if ( channelsReceived == DMX_SLAVE_CHANNELS)
{
// All slave channels have been received
}
else
{
// We have received a frame but not all channels we where
// waiting for, master might have transmitted less
// channels
}
// Update receive time to determine signal timeout
lastFrameReceivedTime = millis ();
}