From 0ea6c6861c7bba255dbee2eef7a6d27e856821b3 Mon Sep 17 00:00:00 2001 From: siwat Date: Sat, 8 Jan 2022 11:57:49 +0700 Subject: [PATCH] Update 'laser-cnc/lasercnc-crealityboard.cfg' --- laser-cnc/lasercnc-crealityboard.cfg | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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