Browse Source

Configurable delay for BLTouch servo emulation

pull/1/head
Scott Lahteine 8 years ago
parent
commit
c56eec29f0
  1. 3
      Marlin/Conditionals_LCD.h
  2. 1
      Marlin/Configuration.h
  3. 2
      Marlin/Marlin_main.cpp
  4. 1
      Marlin/example_configurations/Cartesio/Configuration.h
  5. 1
      Marlin/example_configurations/Felix/Configuration.h
  6. 1
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  7. 1
      Marlin/example_configurations/Hephestos/Configuration.h
  8. 1
      Marlin/example_configurations/Hephestos_2/Configuration.h
  9. 1
      Marlin/example_configurations/K8200/Configuration.h
  10. 1
      Marlin/example_configurations/K8400/Configuration.h
  11. 1
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  12. 1
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  13. 1
      Marlin/example_configurations/RigidBot/Configuration.h
  14. 1
      Marlin/example_configurations/SCARA/Configuration.h
  15. 1
      Marlin/example_configurations/TAZ4/Configuration.h
  16. 1
      Marlin/example_configurations/TinyBoy2/Configuration.h
  17. 1
      Marlin/example_configurations/WITBOX/Configuration.h
  18. 1
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  19. 1
      Marlin/example_configurations/delta/flsun_kossel_mini/Configuration.h
  20. 1
      Marlin/example_configurations/delta/generic/Configuration.h
  21. 1
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  22. 1
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  23. 1
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  24. 1
      Marlin/example_configurations/makibox/Configuration.h
  25. 1
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

3
Marlin/Conditionals_LCD.h

@ -345,6 +345,9 @@
#undef DEACTIVATE_SERVOS_AFTER_MOVE
#undef SERVO_DELAY
#define SERVO_DELAY 50
#ifndef BLTOUCH_DELAY
#define BLTOUCH_DELAY 375
#endif
#undef Z_SERVO_ANGLES
#define Z_SERVO_ANGLES { BLTOUCH_DEPLOY, BLTOUCH_STOW }

1
Marlin/Configuration.h

@ -559,6 +559,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

2
Marlin/Marlin_main.cpp

@ -1990,7 +1990,7 @@ static void clean_up_after_endstop_or_probe_move() {
#if ENABLED(BLTOUCH)
void bltouch_command(int angle) {
servo[Z_ENDSTOP_SERVO_NR].move(angle); // Give the BL-Touch the command and wait
safe_delay(375);
safe_delay(BLTOUCH_DELAY);
}
void set_bltouch_deployed(const bool deploy) {

1
Marlin/example_configurations/Cartesio/Configuration.h

@ -559,6 +559,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/Felix/Configuration.h

@ -542,6 +542,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/Felix/DUAL/Configuration.h

@ -542,6 +542,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/Hephestos/Configuration.h

@ -551,6 +551,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/Hephestos_2/Configuration.h

@ -553,6 +553,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/K8200/Configuration.h

@ -588,6 +588,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/K8400/Configuration.h

@ -559,6 +559,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/K8400/Dual-head/Configuration.h

@ -559,6 +559,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h

@ -559,6 +559,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/RigidBot/Configuration.h

@ -558,6 +558,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/SCARA/Configuration.h

@ -574,6 +574,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/TAZ4/Configuration.h

@ -580,6 +580,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/TinyBoy2/Configuration.h

@ -605,6 +605,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/WITBOX/Configuration.h

@ -551,6 +551,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/adafruit/ST7565/Configuration.h

@ -559,6 +559,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/delta/flsun_kossel_mini/Configuration.h

@ -617,6 +617,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/delta/generic/Configuration.h

@ -604,6 +604,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/delta/kossel_mini/Configuration.h

@ -604,6 +604,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/delta/kossel_pro/Configuration.h

@ -598,6 +598,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/delta/kossel_xl/Configuration.h

@ -617,6 +617,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/makibox/Configuration.h

@ -562,6 +562,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

1
Marlin/example_configurations/tvrrug/Round2/Configuration.h

@ -555,6 +555,7 @@
// The BLTouch probe emulates a servo probe.
// The default connector is SERVO 0. Set Z_ENDSTOP_SERVO_NR below to override.
//#define BLTOUCH
//#define BLTOUCH_DELAY 375 // (ms) Enable and increase if needed
// Z Servo Probe, such as an endstop switch on a rotating arm.
//#define Z_ENDSTOP_SERVO_NR 0

Loading…
Cancel
Save