When using UNO, the SoftwareSerial can use port 2 for RX and port 3 for TX. But it does not work using the same sketch on MEGA. And I tried for a few times and found that the port 50 and 52 can be used.
So is there any limitation to choose RX and TX ports for SoftwareSerial on MEGA?