From 703490da1c62486e694a346061a92e7058b6e527 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 8 Apr 2020 15:17:14 -0400 Subject: bltouch: Simplify handling of command timing Always disable the PWM after each command sent. Automatically trim the command duration so the PWM disable doesn't increase the total pulse time (when the duration is 200ms or greater). Track the ideal command end time separately from the pwm transmit time and only delay toolhead moves to this ideal time. Update verify_state() to automatically schedule the check using the time of the last sent command. Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/example-extras.cfg') diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 7463051c..0ae9e310 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -620,9 +620,9 @@ #control_pin: # Pin connected to the BLTouch control pin. This parameter must be # provided. -#pin_move_time: 0.675 +#pin_move_time: 0.680 # The amount of time (in seconds) to wait for the BLTouch pin to -# move up or down. The default is 0.675 seconds. +# move up or down. The default is 0.680 seconds. #stow_on_each_sample: True # This determines if Klipper should command the pin to move up # between each probe attempt when performing a multiple probe -- cgit v1.2.3-70-g09d2