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