Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated RAMPS pins for TMC2209 UART mode #230

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions boards/RAMPS/pins_RAMPS.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define RA_SERIAL_PORT_TX 23 // SoftwareSerial TX port
#endif
#ifndef RA_SERIAL_PORT_RX
#define RA_SERIAL_PORT_RX 25 // SoftwareSerial RX port
#define RA_SERIAL_PORT_RX 3 // SoftwareSerial RX port
#endif
#ifndef RA_DRIVER_ADDRESS
#define RA_DRIVER_ADDRESS 0b00
Expand All @@ -42,10 +42,10 @@
#endif
// DRIVER_TYPE_TMC2209_UART requires 2 additional digital pins for SoftwareSerial, can be shared across all drivers
#ifndef DEC_SERIAL_PORT_TX
#define DEC_SERIAL_PORT_TX 27 // SoftwareSerial TX port
#define DEC_SERIAL_PORT_TX 25 // SoftwareSerial TX port
#endif
#ifndef DEC_SERIAL_PORT_RX
#define DEC_SERIAL_PORT_RX 29 // SoftwareSerial RX port
#define DEC_SERIAL_PORT_RX 2 // SoftwareSerial RX port
#endif
#ifndef DEC_DRIVER_ADDRESS
#define DEC_DRIVER_ADDRESS 0b00
Expand All @@ -68,10 +68,10 @@
#endif
// DRIVER_TYPE_TMC2209_UART requires 2 additional digital pins for SoftwareSerial, can be shared across all drivers
#ifndef AZ_SERIAL_PORT_TX
#define AZ_SERIAL_PORT_TX 31 // SoftwareSerial TX port
#define AZ_SERIAL_PORT_TX 27 // SoftwareSerial TX port
#endif
#ifndef AZ_SERIAL_PORT_RX
#define AZ_SERIAL_PORT_RX 33 // SoftwareSerial RX port
#define AZ_SERIAL_PORT_RX 18 // SoftwareSerial RX port
#endif
#ifndef AZ_DRIVER_ADDRESS
#define AZ_DRIVER_ADDRESS 0b00
Expand All @@ -91,10 +91,10 @@
#endif
// DRIVER_TYPE_TMC2209_UART requires 2 additional digital pins for SoftwareSerial, can be shared across all drivers
#ifndef ALT_SERIAL_PORT_TX
#define ALT_SERIAL_PORT_TX 35 // SoftwareSerial TX port
#define ALT_SERIAL_PORT_TX 29 // SoftwareSerial TX port
#endif
#ifndef ALT_SERIAL_PORT_RX
#define ALT_SERIAL_PORT_RX 37 // SoftwareSerial RX port
#define ALT_SERIAL_PORT_RX 19 // SoftwareSerial RX port
#endif
#ifndef ALT_DRIVER_ADDRESS
#define ALT_DRIVER_ADDRESS 0b00
Expand All @@ -115,10 +115,10 @@
#endif
// DRIVER_TYPE_TMC2209_UART requires 2 additional digital pins for SoftwareSerial, can be shared across all drivers
#ifndef FOCUS_SERIAL_PORT_TX
#define FOCUS_SERIAL_PORT_TX 39 // SoftwareSerial TX port
#define FOCUS_SERIAL_PORT_TX 6 // SoftwareSerial TX port
#endif
#ifndef FOCUS_SERIAL_PORT_RX
#define FOCUS_SERIAL_PORT_RX 41 // SoftwareSerial RX port
#define FOCUS_SERIAL_PORT_RX 11 // SoftwareSerial RX port
#endif
#ifndef FOCUS_DRIVER_ADDRESS
#define FOCUS_DRIVER_ADDRESS 0b00
Expand Down