0 votes
2.7k views
asked 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
answered by
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
answered by (580 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
0 answers 2.5k views
+2 votes
1 answer 4.2k views
asked Mar 14, 2017 in Arduino by Manoj
+2 votes
1 answer 2.4k views
...