This code example shows how to use Real-Time Data Monitor (RTDM) to create an alternative link between Host PC and target device for debugging applications in real-time using MPLAB DMCI.
It is required to include the RTDM.C file and RTDM.h into the application project in order to send/receive data through the UART to/from the host PC running under MPLAB DMCI environment. DMCI included in MPLAB X IDE is ready and enabled to support data exchange between the host PC and target device.