Tweak spacing of L6470 options
This commit is contained in:
parent
c37d3ae97d
commit
f79a5a9dee
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1299,49 +1299,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1298,49 +1298,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1293,49 +1293,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1299,49 +1299,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1304,49 +1304,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1293,49 +1293,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1286,49 +1286,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1293,49 +1293,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1293,49 +1293,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1293,49 +1293,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1293,49 +1293,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1293,49 +1293,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1298,49 +1298,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1293,49 +1293,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1291,49 +1291,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
@ -1292,49 +1292,49 @@
|
|||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(L6470)
|
#if HAS_DRIVER(L6470)
|
||||||
|
|
||||||
#define X_MICROSTEPS 16 // number of microsteps
|
#define X_MICROSTEPS 16 // number of microsteps
|
||||||
#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_OVERCURRENT 2000
|
#define X2_OVERCURRENT 2000
|
||||||
#define X2_STALLCURRENT 1500
|
#define X2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Y_MICROSTEPS 16
|
#define Y_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Y2_OVERCURRENT 2000
|
||||||
#define Y2_STALLCURRENT 1500
|
#define Y2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define Z_MICROSTEPS 16
|
#define Z_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define Z2_OVERCURRENT 2000
|
||||||
#define Z2_STALLCURRENT 1500
|
#define Z2_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E0_MICROSTEPS 16
|
#define E0_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E1_OVERCURRENT 2000
|
||||||
#define E1_STALLCURRENT 1500
|
#define E1_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E2_MICROSTEPS 16
|
#define E2_MICROSTEPS 16
|
||||||
#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_OVERCURRENT 2000
|
#define E3_OVERCURRENT 2000
|
||||||
#define E3_STALLCURRENT 1500
|
#define E3_STALLCURRENT 1500
|
||||||
|
|
||||||
#define E4_MICROSTEPS 16
|
#define E4_MICROSTEPS 16
|
||||||
#define E4_OVERCURRENT 2000
|
#define E4_OVERCURRENT 2000
|
||||||
#define E4_STALLCURRENT 1500
|
#define E4_STALLCURRENT 1500
|
||||||
|
|
||||||
#endif // L6470
|
#endif // L6470
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user