0 votes
in Arduino by
I'm using an Arduino Mega. When I use "Serial.write" etc with the Arduino's IDE serial monitor everything is working fine.

However when I try to read or send data via "Serial1", I get nothing.  Why is this?

2 Answers

0 votes
The only serial port connected to the USB that the serial monitor can read from is Serial.

Serial1, Serial2, and Serial3 are all logic level serial and will not show up on the Arduino serial monitor.

If you want to see the output from these on your computer,it will require extra hardware. Or you can write the code to print all the data coming from other serials to the primary Serial port.
0 votes
by (740 points)
Only Serial0 (aka Serial) data will be displayed in the serial monitor and you can see in the computer screen. You will need to write serial1 data on to serial to see whats happening that end.

Related questions

0 votes
1 answer 6.2k views
+2 votes
1 answer 8.6k views
asked Mar 15, 2017 in Arduino by Manoj
0 votes
1 answer 8.5k views