|
|
@ -1082,57 +1082,46 @@
|
|
|
|
//#define E4_IS_L6470
|
|
|
|
//#define E4_IS_L6470
|
|
|
|
|
|
|
|
|
|
|
|
#define X_MICROSTEPS 16 // number of microsteps
|
|
|
|
#define X_MICROSTEPS 16 // number of microsteps
|
|
|
|
#define X_K_VAL 50 // 0 - 255, Higher values, are higher power. Be careful not to go too high
|
|
|
|
|
|
|
|
#define X_OVERCURRENT 2000 // maxc current in mA. If the current goes over this value, the driver will switch off
|
|
|
|
#define X_OVERCURRENT 2000 // maxc current in mA. If the current goes over this value, the driver will switch off
|
|
|
|
#define X_STALLCURRENT 1500 // current in mA where the driver will detect a stall
|
|
|
|
#define X_STALLCURRENT 1500 // current in mA where the driver will detect a stall
|
|
|
|
|
|
|
|
|
|
|
|
#define X2_MICROSTEPS 16
|
|
|
|
#define X2_MICROSTEPS 16
|
|
|
|
#define X2_K_VAL 50
|
|
|
|
|
|
|
|
#define X2_OVERCURRENT 2000
|
|
|
|
#define X2_OVERCURRENT 2000
|
|
|
|
#define X2_STALLCURRENT 1500
|
|
|
|
#define X2_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define Y_MICROSTEPS 16
|
|
|
|
#define Y_MICROSTEPS 16
|
|
|
|
#define Y_K_VAL 50
|
|
|
|
|
|
|
|
#define Y_OVERCURRENT 2000
|
|
|
|
#define Y_OVERCURRENT 2000
|
|
|
|
#define Y_STALLCURRENT 1500
|
|
|
|
#define Y_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define Y2_MICROSTEPS 16
|
|
|
|
#define Y2_MICROSTEPS 16
|
|
|
|
#define Y2_K_VAL 50
|
|
|
|
|
|
|
|
#define Y2_OVERCURRENT 2000
|
|
|
|
#define Y2_OVERCURRENT 2000
|
|
|
|
#define Y2_STALLCURRENT 1500
|
|
|
|
#define Y2_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define Z_MICROSTEPS 16
|
|
|
|
#define Z_MICROSTEPS 16
|
|
|
|
#define Z_K_VAL 50
|
|
|
|
|
|
|
|
#define Z_OVERCURRENT 2000
|
|
|
|
#define Z_OVERCURRENT 2000
|
|
|
|
#define Z_STALLCURRENT 1500
|
|
|
|
#define Z_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define Z2_MICROSTEPS 16
|
|
|
|
#define Z2_MICROSTEPS 16
|
|
|
|
#define Z2_K_VAL 50
|
|
|
|
|
|
|
|
#define Z2_OVERCURRENT 2000
|
|
|
|
#define Z2_OVERCURRENT 2000
|
|
|
|
#define Z2_STALLCURRENT 1500
|
|
|
|
#define Z2_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define E0_MICROSTEPS 16
|
|
|
|
#define E0_MICROSTEPS 16
|
|
|
|
#define E0_K_VAL 50
|
|
|
|
|
|
|
|
#define E0_OVERCURRENT 2000
|
|
|
|
#define E0_OVERCURRENT 2000
|
|
|
|
#define E0_STALLCURRENT 1500
|
|
|
|
#define E0_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define E1_MICROSTEPS 16
|
|
|
|
#define E1_MICROSTEPS 16
|
|
|
|
#define E1_K_VAL 50
|
|
|
|
|
|
|
|
#define E1_OVERCURRENT 2000
|
|
|
|
#define E1_OVERCURRENT 2000
|
|
|
|
#define E1_STALLCURRENT 1500
|
|
|
|
#define E1_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define E2_MICROSTEPS 16
|
|
|
|
#define E2_MICROSTEPS 16
|
|
|
|
#define E2_K_VAL 50
|
|
|
|
|
|
|
|
#define E2_OVERCURRENT 2000
|
|
|
|
#define E2_OVERCURRENT 2000
|
|
|
|
#define E2_STALLCURRENT 1500
|
|
|
|
#define E2_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define E3_MICROSTEPS 16
|
|
|
|
#define E3_MICROSTEPS 16
|
|
|
|
#define E3_K_VAL 50
|
|
|
|
|
|
|
|
#define E3_OVERCURRENT 2000
|
|
|
|
#define E3_OVERCURRENT 2000
|
|
|
|
#define E3_STALLCURRENT 1500
|
|
|
|
#define E3_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|
#define E4_MICROSTEPS 16
|
|
|
|
#define E4_MICROSTEPS 16
|
|
|
|
#define E4_K_VAL 50
|
|
|
|
|
|
|
|
#define E4_OVERCURRENT 2000
|
|
|
|
#define E4_OVERCURRENT 2000
|
|
|
|
#define E4_STALLCURRENT 1500
|
|
|
|
#define E4_STALLCURRENT 1500
|
|
|
|
|
|
|
|
|
|
|
|