6.3 Send Commands from MPLAB® X Data Visualizer
Program the example code on the device, then open MPLAB® X Data Visualizer. Select the correct COM port as the input source. In the output section, ensure Newline Character is set to ‘CR+LF’. Type one of the commands, ‘ON’ or ‘OFF’, and observe the LED changing its state accordingly.