|
17 | 17 | // If using NEMA steppers |
18 | 18 | #define RA_STEP_PIN 22 // STEP |
19 | 19 | #define RA_DIR_PIN 24 // DIR |
20 | | - #define RA_EN_PIN 25 // Enable |
| 20 | + #define RA_EN_PIN 26 // Enable |
| 21 | + #define RA_DIAG_PIN 28 // only needed for autohome function |
21 | 22 | #define RA_MS0_PIN 30, HIGH // |
22 | 23 | #define RA_MS1_PIN 32, HIGH |
23 | 24 | #define RA_MS2_PIN 34, HIGH |
24 | 25 | //RA TMC2209 UART specific pins |
25 | 26 | #define RA_SERIAL_PORT Serial3 // HardwareSerial port, wire to TX3 for write-only |
26 | 27 | #define RA_DRIVER_ADDRESS 0b00 // Set by MS1/MS2. LOW/LOW in this case |
27 | | - #define RA_DIAG_PIN 40 // only needed for autohome function |
28 | 28 |
|
29 | | - #define DEC_STEP_PIN 26 // STEP |
30 | | - #define DEC_DIR_PIN 28 // DIR |
31 | | - #define DEC_EN_PIN 29 // Enable |
| 29 | + #define DEC_STEP_PIN 23 // STEP |
| 30 | + #define DEC_DIR_PIN 25 // DIR |
| 31 | + #define DEC_EN_PIN 27 // Enable |
| 32 | + #define DEC_DIAG_PIN 29 // only needed for autohome function |
32 | 33 | #define DEC_MS0_PIN 31 // |
33 | 34 | #define DEC_MS1_PIN 33 |
34 | 35 | #define DEC_MS2_PIN 35 |
35 | 36 | //DEC TMC2209 UART specific pins |
36 | 37 | #define DEC_SERIAL_PORT Serial3 // HardwareSerial port, wire to TX2 for write-only |
37 | 38 | #define DEC_DRIVER_ADDRESS 0b01 // Set by MS1/MS2 (MS1 HIGH, MS2 LOW) |
38 | | - #define DEC_DIAG_PIN 41 // only needed for autohome function |
39 | 39 |
|
40 | 40 | #if AZIMUTH_ALTITUDE_MOTORS == 1 |
41 | 41 | // Azimuth and Altitude pins |
42 | | - #define AZ_IN1_PIN 38 |
43 | | - #define AZ_IN2_PIN 40 |
44 | | - #define AZ_IN3_PIN 42 |
45 | | - #define AZ_IN4_PIN 44 |
46 | | - #define ALT_IN1_PIN 46 |
47 | | - #define ALT_IN2_PIN 48 |
48 | | - #define ALT_IN3_PIN 50 |
49 | | - #define ALT_IN4_PIN 52 |
| 42 | + #define AZ_IN1_PIN 46 |
| 43 | + #define AZ_IN2_PIN 48 |
| 44 | + #define AZ_IN3_PIN 50 |
| 45 | + #define AZ_IN4_PIN 52 |
| 46 | + #define ALT_IN1_PIN 47 |
| 47 | + #define ALT_IN2_PIN 49 |
| 48 | + #define ALT_IN3_PIN 51 |
| 49 | + #define ALT_IN4_PIN 53 |
50 | 50 | #endif |
51 | 51 | //--------------- |
52 | 52 | // MISC PINS amd SETTINGS |
|
0 commit comments