From 944bfede2ca1e722d7d65c75e1fba858f2aa402d Mon Sep 17 00:00:00 2001 From: siwat Date: Mon, 17 Jan 2022 22:48:55 +0700 Subject: [PATCH] Update 'laser-cnc/lasercnc.cfg' --- laser-cnc/lasercnc.cfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/laser-cnc/lasercnc.cfg b/laser-cnc/lasercnc.cfg index 28a50a5..15ceafe 100644 --- a/laser-cnc/lasercnc.cfg +++ b/laser-cnc/lasercnc.cfg @@ -5,7 +5,7 @@ step_pin: PB13 dir_pin: !PB12 enable_pin: !PB14 microsteps: 16 -rotation_distance: 20 +rotation_distance: 20.30075 endstop_pin: ^PC0 position_endstop: 0 position_max: 594 @@ -23,7 +23,7 @@ step_pin: PB10 dir_pin: !PB2 enable_pin: !PB11 microsteps: 16 -rotation_distance: 20 +rotation_distance: 20.29418 endstop_pin: ^PC1 position_endstop: 407 position_max: 407 @@ -36,6 +36,10 @@ uart_address: 2 run_current: 0.8 stealthchop_threshold: 0 +[homing_override] +gcode: + G28 X Y + [stepper_z] step_pin: PB0 dir_pin: PC5