I'm using an Arduino mega which has 4 serial ports. On the main serial port continuously sending and receiving data between the Arduino and a computer. The computer is doing some calculations and sending the results back to the arduino.
I'd like to see the data that the Arduino is receiving from the computer but doing a normal Serial.print() will also send that data back to the computer, creating a big endless loop of garbage data.
Is there a way to print to the screen using on of the other serial ports. I'm thinking that I can read/write on port1 and then send the data back to the screen using port2?