Hello everybody,
I want to let Myserial as a main serial "communication between host and Arduino mega 2560 with ramps 1.4", and another serial as secondary for communication with my RFID module!!
I can add either SoftwareSerial or HardwareSerial!! As you said, I preferred HardwareSerial, it is much easier!! For that, I connect the RX2 and TX2 of Serial2 to my RFID module, and it works fine without Marlin!!
If I add Marlin, it said Serial2 was not declared in the scope!!
I don't want to change the MarlinSerial!! I want to let to communicate with my PC with USB. But I want to add an RFID module wich needs Serial Port, for that I need to add another one for it!!
Please help!!