In one of the projects I am doing, I need to send some data from a Java program to an Arduino board. I am using serial communication with the JSerialComm library.
I need to debug my program to see whether the Arduino is receiving the correct data or not and I cannot find a way to do it because while sending the data, the Java program is using the serial port, therefore I cannot open the serial monitor and print information in the Arduino IDE.
Do you have any other idea to check the data getting to the Arduino from the serial port?