I am trying to make Marlin use the RX1 and TX1 pins that are in the EXP1 connection. I am connecting those pins to the TX, RX of an Arduino.
The Configuration.h file has a SERIAL_PORT define, normally configured to be 0, but supposedly changeable.
What should be changed in Marlin to make it used the Serial1 port (if possible at all)? I am using the latest code provided in Printrbot's Marlin repository
From the Configuration.h file:
// SERIAL_PORT selects which serial port should be used for communication with the host. // This allows the connection of wireless adapters (for instance) to non-default port pins. // Serial port 0 is still used by the Arduino bootloader regardless of this setting. #define SERIAL_PORT 0 //#define SERIAL_PORT 1 // This determines the communication speed of the printer // This determines the communication speed of the printer #define BAUDRATE 250000 //#define BAUDRATE 9600