From 0f93a00f55c66baf314f47e867f2cb8217fd09a9 Mon Sep 17 00:00:00 2001 From: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Fri, 17 Nov 2023 11:52:21 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Biqu=20MicroProbe=20option=20for?= =?UTF-8?q?=20Hurakan=20(#990)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MicroProbe V1 triggers HIGH. V2 triggers LOW. --- config/examples/BIQU/Hurakan/Configuration.h | 6 ++++-- config/examples/BIQU/Hurakan/README.md | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/examples/BIQU/Hurakan/Configuration.h b/config/examples/BIQU/Hurakan/Configuration.h index 604b226146..7d84660e8f 100644 --- a/config/examples/BIQU/Hurakan/Configuration.h +++ b/config/examples/BIQU/Hurakan/Configuration.h @@ -23,6 +23,8 @@ #error "Don't build with import-2.1.x configurations!" #error "Use the 'bugfix...' or 'release...' configurations matching your Marlin version." +//#define BIQU_MICROPROBE_V1 // Uncomment for Biqu MicroProbe V1, otherwise V2 is assumed + /** * Configuration.h * @@ -1175,7 +1177,7 @@ #define X_MAX_ENDSTOP_HIT_STATE HIGH #define Y_MIN_ENDSTOP_HIT_STATE HIGH #define Y_MAX_ENDSTOP_HIT_STATE HIGH -#define Z_MIN_ENDSTOP_HIT_STATE LOW +#define Z_MIN_ENDSTOP_HIT_STATE HIGH #define Z_MAX_ENDSTOP_HIT_STATE HIGH #define I_MIN_ENDSTOP_HIT_STATE HIGH #define I_MAX_ENDSTOP_HIT_STATE HIGH @@ -1189,7 +1191,7 @@ #define V_MAX_ENDSTOP_HIT_STATE HIGH #define W_MIN_ENDSTOP_HIT_STATE HIGH #define W_MAX_ENDSTOP_HIT_STATE HIGH -#define Z_MIN_PROBE_ENDSTOP_HIT_STATE HIGH +#define Z_MIN_PROBE_ENDSTOP_HIT_STATE TERN(BIQU_MICROPROBE_V1, HIGH, LOW) // Enable this feature if all enabled endstop pins are interrupt-capable. // This will remove the need to poll the interrupt pins, saving many CPU cycles. diff --git a/config/examples/BIQU/Hurakan/README.md b/config/examples/BIQU/Hurakan/README.md index 652913c819..2b45c5a797 100644 --- a/config/examples/BIQU/Hurakan/README.md +++ b/config/examples/BIQU/Hurakan/README.md @@ -2,6 +2,8 @@ > [!NOTE] > Early Hurakan printers have a raised bed power switch, so enable (uncomment) `#define PROBING_MARGIN_BACK` in `Configuration_adv.h` to prevent the hotend from potentially colliding with the switch assembly while probing. +> +> Enable (uncomment) `#define BIQU_MICROPROBE_V1` in `Configuration.h` for Biqu MicroProbe V1, otherwise V2 is assumed. The Biqu Hurakan ships with a BigTreeTech Manta M4P motherboard which includes an integrated BigTreeTech CB1 single board computer running Klipper. See below for instructions on how to update the CB1 to run OctoPrint.