diff --git a/laser-cnc/lasercnc-crealityboard.cfg b/laser-cnc/lasercnc-crealityboard.cfg index 6681ce3..8d0d931 100644 --- a/laser-cnc/lasercnc-crealityboard.cfg +++ b/laser-cnc/lasercnc-crealityboard.cfg @@ -4,23 +4,28 @@ step_pin: PD7 dir_pin: !PC5 enable_pin: !PD6 microsteps: 16 -rotation_distance: 40 -endstop_pin: ~^PC2 +rotation_distance: 20 +endstop_pin: ^PC2 position_endstop: 0 -position_max: 235 +position_max: 594 homing_speed: 50 [stepper_y] step_pin: PC6 -dir_pin: !PC7 +dir_pin: PC7 enable_pin: !PD6 microsteps: 16 -rotation_distance: 40 -endstop_pin: ~^PC3 +rotation_distance: 20 +endstop_pin: ^PC3 position_endstop: 0 -position_max: 235 +position_max: 407 homing_speed: 50 +[homing_override] +gcode: + G28 X Y + SET_KINEMATIC_POSITION Z=0 + [stepper_z] step_pin: PB3 dir_pin: PB2