Skip to content

Commit 1f2c8a3

Browse files
committed
Update TMC2209_4x.h
1 parent 212652e commit 1f2c8a3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Grbl_Esp32/src/Machines/TMC2209_4x.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,32 +54,32 @@
5454

5555
#define Z_TRINAMIC_DRIVER 2209
5656
#define Z_STEP_PIN GPIO_NUM_2
57-
#define Z_DIRECTION_PIN GPIO_NUM_4
57+
#define Z_DIRECTION_PIN GPIO_NUM_14
5858
#define Z_RSENSE TMC2209_RSENSE_DEFAULT
5959
#define Z_DRIVER_ADDRESS 2
6060
#define DEFAULT_Z_MICROSTEPS 16
6161

6262
#define A_TRINAMIC_DRIVER 2209
6363
#define A_STEP_PIN GPIO_NUM_16
64-
#define A_DIRECTION_PIN GPIO_NUM_17
64+
#define A_DIRECTION_PIN GPIO_NUM_15
6565
#define A_RSENSE TMC2209_RSENSE_DEFAULT
6666
#define A_DRIVER_ADDRESS 3
6767
#define DEFAULT_A_MICROSTEPS 16
6868

69-
#define X_LIMIT_PIN GPIO_NUM_36
70-
#define Y_LIMIT_PIN GPIO_NUM_39
71-
#define Z_LIMIT_PIN GPIO_NUM_34
72-
#define PROBE_PIN GPIO_NUM_35
69+
#define X_LIMIT_PIN GPIO_NUM_35
70+
#define Y_LIMIT_PIN GPIO_NUM_34
71+
#define Z_LIMIT_PIN GPIO_NUM_39
72+
#define PROBE_PIN GPIO_NUM_36
7373

7474
// OK to comment out to use pin for other features
7575
#define STEPPERS_DISABLE_PIN GPIO_NUM_25
7676

7777

7878
// https://github.com/bdring/6-Pack_CNC_Controller/wiki/4x-5V-Buffered-Output-Module
7979
// https://github.com/bdring/6-Pack_CNC_Controller/wiki/Quad-MOSFET-Module
80-
#define USER_DIGITAL_PIN_0 GPIO_NUM_14 // M62 M63
80+
#define USER_DIGITAL_PIN_0 GPIO_NUM_4 // M62 M63
8181
#define USER_DIGITAL_PIN_1 GPIO_NUM_13 // M62 M63
82-
#define USER_DIGITAL_PIN_2 GPIO_NUM_15 // M62 M63
82+
#define USER_DIGITAL_PIN_2 GPIO_NUM_17 // M62 M63
8383
#define USER_DIGITAL_PIN_3 GPIO_NUM_12 // M62 M63
8484

8585

0 commit comments

Comments
 (0)