浏览代码

Toshiba Stepper Driver support

Tosh stepper drivers need to be driven slower, so the stepper code
was interleaved to separate the pin HIGH from the pin LOW. This adds
enough instructions to make it work, without needing nops.
Bo Herrmannsen 10 年前
父节点
当前提交
c429a4b3ec
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4
    2
      Marlin/Configuration_adv.h

+ 4
- 2
Marlin/Configuration_adv.h 查看文件

219
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
219
 //#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.
220
 
220
 
221
 #define AXIS_RELATIVE_MODES {false, false, false, false}
221
 #define AXIS_RELATIVE_MODES {false, false, false, false}
222
-
222
+#ifdef CONFIG_STEPPERS_TOSHIBA
223
+#define MAX_STEP_FREQUENCY 10000 // Max step frequency for Toshiba Stepper Controllers
224
+#else
223
 #define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
225
 #define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
224
-
226
+#endif
225
 //By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
227
 //By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.
226
 #define INVERT_X_STEP_PIN false
228
 #define INVERT_X_STEP_PIN false
227
 #define INVERT_Y_STEP_PIN false
229
 #define INVERT_Y_STEP_PIN false

正在加载...
取消
保存