mirror of
git://soft.sys114.com/klipper
synced 2026-02-04 16:40:37 +09:00
stepper: Calculate step_distance from rotation_distance
Add support for automatically calculating the internal step_distance from new config parameters - rotation_distance, microsteps, full_steps_per_rotation, and gear_ratio. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
step_pin: ar54
|
||||
dir_pin: ar55
|
||||
enable_pin: !ar38
|
||||
step_distance: 0.001963495
|
||||
microsteps: 16
|
||||
gear_ratio: 80:16
|
||||
|
||||
[stepper_arm]
|
||||
step_pin: ar60
|
||||
|
||||
Reference in New Issue
Block a user