瀏覽代碼

Properly handle probe pin for BQ printers

Scott Lahteine 8 年之前
父節點
當前提交
11e9530111

+ 2
- 2
Marlin/example_configurations/Hephestos/Configuration.h 查看文件

517
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
517
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
518
 // Use with caution and do your homework.
518
 // Use with caution and do your homework.
519
 //
519
 //
520
-//#define Z_MIN_PROBE_ENDSTOP
520
+#define Z_MIN_PROBE_ENDSTOP
521
 
521
 
522
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
522
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
523
 // The Z_MIN_PIN will then be used for both Z-homing and probing.
523
 // The Z_MIN_PIN will then be used for both Z-homing and probing.
524
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
524
+//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
525
 
525
 
526
 // To use a probe you must enable one of the two options above!
526
 // To use a probe you must enable one of the two options above!
527
 
527
 

+ 2
- 2
Marlin/example_configurations/Hephestos_2/Configuration.h 查看文件

519
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
519
 // Setting the wrong pin may have unexpected and potentially disastrous consequences.
520
 // Use with caution and do your homework.
520
 // Use with caution and do your homework.
521
 //
521
 //
522
-//#define Z_MIN_PROBE_ENDSTOP
522
+#define Z_MIN_PROBE_ENDSTOP
523
 
523
 
524
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
524
 // Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
525
 // The Z_MIN_PIN will then be used for both Z-homing and probing.
525
 // The Z_MIN_PIN will then be used for both Z-homing and probing.
526
-#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
526
+//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
527
 
527
 
528
 // To use a probe you must enable one of the two options above!
528
 // To use a probe you must enable one of the two options above!
529
 
529
 

+ 3
- 7
Marlin/pins_BQ_ZUM_MEGA_3D.h 查看文件

40
 #undef X_MAX_PIN
40
 #undef X_MAX_PIN
41
 #define X_MAX_PIN         79 //  2
41
 #define X_MAX_PIN         79 //  2
42
 
42
 
43
+#undef Z_MIN_PROBE_PIN
44
+#define Z_MIN_PROBE_PIN   19 // IND_S_5V
45
+
43
 #undef Z_ENABLE_PIN
46
 #undef Z_ENABLE_PIN
44
 #define Z_ENABLE_PIN      77 // 62
47
 #define Z_ENABLE_PIN      77 // 62
45
 
48
 
54
 
57
 
55
 #undef PS_ON_PIN             // 12
58
 #undef PS_ON_PIN             // 12
56
 #define PS_ON_PIN         81 // External Power Supply
59
 #define PS_ON_PIN         81 // External Power Supply
57
-
58
-#if ENABLED(AUTO_BED_LEVELING_FEATURE)
59
-  #undef Z_MIN_PIN
60
-  #undef Z_MAX_PIN
61
-  #define Z_MIN_PIN       19 // IND_S_5V
62
-  #define Z_MAX_PIN       18 // Z-MIN Label
63
-#endif

Loading…
取消
儲存