да, штатно.
Код:
bash-3.2$ git show 7e31d37702fb2dbff40cba951de4b150174cfcc0
commit 7e31d37702fb2dbff40cba951de4b150174cfcc0 (HEAD -> dev_3ntProf_azteeg)
Author: Sergey Taranenko <setar@roboforum.ru>
Date: Wed Jul 26 11:22:29 2017 +0300
BLTouch install
diff --git a/MK4duo/Configuration_Core.h b/MK4duo/Configuration_Core.h
index 8db42ba9..172fe51f 100644
--- a/MK4duo/Configuration_Core.h
+++ b/MK4duo/Configuration_Core.h
@@ -188,8 +188,8 @@
// Z Servo Endstop
// Remember active servos in Configuration_Feature.h
// Define nr servo for endstop -1 not define. Servo index start 0
-#define Z_ENDSTOP_SERVO_NR -1
-#define Z_ENDSTOP_SERVO_ANGLES {90,0} // Z Servo Deploy and Stow angles
+#define Z_ENDSTOP_SERVO_NR 0
+#define Z_ENDSTOP_SERVO_ANGLES {10,90} // Z Servo Deploy and Stow angles
// The "Manual Probe" provides a means to do "Auto" Bed Leveling without a probe.
// Use G29 repeatedly, adjusting the Z height at each point with movement commands
@@ -204,8 +204,8 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0.
-//#define BLTOUCH
-//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
+#define BLTOUCH
+#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
//#define Z_PROBE_SLED
@@ -226,21 +226,21 @@
// | |
// O-- FRONT --+
// (0,0)
-#define X_PROBE_OFFSET_FROM_NOZZLE 0 // X offset: -left [of the nozzle] +right
-#define Y_PROBE_OFFSET_FROM_NOZZLE 0 // Y offset: -front [of the nozzle] +behind
-#define Z_PROBE_OFFSET_FROM_NOZZLE -1 // Z offset: -below [of the nozzle] (always negative!)
+#define X_PROBE_OFFSET_FROM_NOZZLE 29 // X offset: -left [of the nozzle] +right
+#define Y_PROBE_OFFSET_FROM_NOZZLE -10 // Y offset: -front [of the nozzle] +behind
+#define Z_PROBE_OFFSET_FROM_NOZZLE -1.4 // Z offset: -below [of the nozzle] (always negative!)
// X and Y axis travel speed between probes, in mm/min
#define XY_PROBE_SPEED 10000
// Speed for the first approach when double-probing (with PROBE_DOUBLE_TOUCH)
-#define Z_PROBE_SPEED_FAST 120
+#define Z_PROBE_SPEED_FAST 1000
// Speed for the "accurate" probe of each point
#define Z_PROBE_SPEED_SLOW 60
// Z Probe repetitions, median for best result
#define Z_PROBE_REPETITIONS 1
// Enable Z Probe Repeatability test to see how accurate your probe is
-//#define Z_MIN_PROBE_REPEATABILITY_TEST
+#define Z_MIN_PROBE_REPEATABILITY_TEST
// Probe Raise options provide clearance for the probe to deploy, stow, and travel.
#define Z_PROBE_DEPLOY_HEIGHT 15 // Z position for the probe to deploy/stow
@@ -435,7 +435,7 @@
*****************************************************************************************/
//#define MESH_BED_LEVELING
//#define AUTO_BED_LEVELING_LINEAR
-//#define AUTO_BED_LEVELING_BILINEAR
+#define AUTO_BED_LEVELING_BILINEAR
//#define AUTO_BED_LEVELING_3POINT
// Enable detailed logging of G28, G29, G30, M48, etc.
@@ -467,10 +467,10 @@
/** START AUTO BED LEVELING LINEAR or AUTO BED LEVELING BILINEAR **/
// Set the boundaries for probing (where the probe can reach).
-#define LEFT_PROBE_BED_POSITION 20
-#define RIGHT_PROBE_BED_POSITION 180
-#define FRONT_PROBE_BED_POSITION 20
-#define BACK_PROBE_BED_POSITION 180
+#define LEFT_PROBE_BED_POSITION 50
+#define RIGHT_PROBE_BED_POSITION 350
+#define FRONT_PROBE_BED_POSITION 50
+#define BACK_PROBE_BED_POSITION 350
// The Z probe minimum outer margin (to validate G29 parameters).
#define MIN_PROBE_EDGE 10
diff --git a/MK4duo/Configuration_Feature.h b/MK4duo/Configuration_Feature.h
index b3345ddc..bd06c695 100644
--- a/MK4duo/Configuration_Feature.h
+++ b/MK4duo/Configuration_Feature.h
@@ -609,7 +609,7 @@
// If you select a configuration below, this will receive a default value and does not need to be set manually
// set it manually if you have more servos than extruders and wish to manually control some
// leaving it defining as 0 will disable the servo subsystem
-#define NUM_SERVOS 0
+#define NUM_SERVOS 1
// Servo index starts with 0 for M280 command
//
// Servo deactivation
diff --git a/MK4duo/Configuration_Pins.h b/MK4duo/Configuration_Pins.h
index cd08b4c2..e5178c89 100644
--- a/MK4duo/Configuration_Pins.h
+++ b/MK4duo/Configuration_Pins.h
@@ -157,7 +157,7 @@
#define Z4_MIN_PIN -1
#define Z4_MAX_PIN -1
#define E_MIN_PIN -1
-#define Z_PROBE_PIN -1
+#define Z_PROBE_PIN ORIG_Z_PROBE_PIN
// HEATER pin
#define HEATER_0_PIN ORIG_HEATER_0_PIN