Solved Odrive +Arduino Mega motor not turning (will Beep)

I can get the motor to turn just fine when I use an Arduino Uno. If I run the same code on an Arduino Mega 2560 R3 and to the calibration it will Beep but the motor will not turn. Is there special UART setting I need order to use an Arduino Mega?

I used the actual Serial lines pin 18 &19 and that worked.
#define odrive_serial_1 Serial1 //s1 1 motor On Mega: 18 = TX (goes to RX on odrive), 19 = RX (goes to TX on odrive)

1 Like

In Arduino Mega, only following can be used for RX 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9(63), A10(64), A11(65), A12(66), A13(67), A14(68), A15(69).

Arduino SoftwareSerial can be helped