Browse Source

Add PHOTO_GCODE option, photo trigger physical move (#13168)

pull/1/head
Scott Lahteine 5 years ago
committed by GitHub
parent
commit
d2bdb71c13
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Marlin/Configuration.h
  2. 28
      Marlin/Configuration_adv.h
  3. 5
      Marlin/src/Marlin.cpp
  4. 4
      Marlin/src/config/default/Configuration.h
  5. 28
      Marlin/src/config/default/Configuration_adv.h
  6. 4
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h
  7. 28
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  8. 4
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  9. 28
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  10. 4
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  11. 4
      Marlin/src/config/examples/Anet/A2/Configuration.h
  12. 28
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  13. 4
      Marlin/src/config/examples/Anet/A2plus/Configuration.h
  14. 28
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  15. 4
      Marlin/src/config/examples/Anet/A6/Configuration.h
  16. 28
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  17. 4
      Marlin/src/config/examples/Anet/A8/Configuration.h
  18. 28
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  19. 4
      Marlin/src/config/examples/AnyCubic/i3/Configuration.h
  20. 28
      Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h
  21. 4
      Marlin/src/config/examples/ArmEd/Configuration.h
  22. 28
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  23. 4
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  24. 4
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  25. 28
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  26. 4
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  27. 28
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  28. 4
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  29. 28
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  30. 4
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  31. 28
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  32. 4
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  33. 28
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  34. 4
      Marlin/src/config/examples/Cartesio/Configuration.h
  35. 28
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  36. 4
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  37. 28
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  38. 4
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  39. 28
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  40. 4
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  41. 28
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  42. 4
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  43. 28
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  44. 4
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  45. 28
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  46. 4
      Marlin/src/config/examples/Creality/Ender-3/Configuration.h
  47. 28
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  48. 4
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  49. 28
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  50. 4
      Marlin/src/config/examples/Einstart-S/Configuration.h
  51. 28
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  52. 4
      Marlin/src/config/examples/Felix/Configuration.h
  53. 28
      Marlin/src/config/examples/Felix/Configuration_adv.h
  54. 4
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  55. 4
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h
  56. 28
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h
  57. 4
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  58. 28
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  59. 4
      Marlin/src/config/examples/Formbot/Raptor/Configuration.h
  60. 28
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  61. 4
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
  62. 28
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  63. 4
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
  64. 28
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  65. 4
      Marlin/src/config/examples/Geeetech/A10M/Configuration.h
  66. 28
      Marlin/src/config/examples/Geeetech/A10M/Configuration_adv.h
  67. 4
      Marlin/src/config/examples/Geeetech/A20M/Configuration.h
  68. 28
      Marlin/src/config/examples/Geeetech/A20M/Configuration_adv.h
  69. 4
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  70. 4
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  71. 4
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
  72. 28
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  73. 4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  74. 4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  75. 4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  76. 28
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  77. 4
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  78. 28
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  79. 4
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  80. 28
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  81. 4
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  82. 28
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  83. 4
      Marlin/src/config/examples/MakerParts/Configuration.h
  84. 28
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  85. 4
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  86. 28
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  87. 4
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  88. 28
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  89. 4
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  90. 4
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  91. 28
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  92. 4
      Marlin/src/config/examples/Mks/Robin/Configuration.h
  93. 28
      Marlin/src/config/examples/Mks/Robin/Configuration_adv.h
  94. 4
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  95. 28
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  96. 4
      Marlin/src/config/examples/RapideLite/RL200/Configuration.h
  97. 28
      Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h
  98. 4
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
  99. 4
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  100. 4
      Marlin/src/config/examples/RigidBot/Configuration.h

4
Marlin/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/Configuration_adv.h

@ -1809,12 +1809,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

5
Marlin/src/Marlin.cpp

@ -195,7 +195,6 @@ millis_t max_inactive_time, // = 0
stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL;
#if PIN_EXISTS(CHDK)
extern bool chdk_active;
extern millis_t chdk_timeout;
#endif
@ -482,8 +481,8 @@ void manage_inactivity(const bool ignore_stepper_queue/*=false*/) {
}
#if PIN_EXISTS(CHDK) // Check if pin should be set to LOW (after M240 set it HIGH)
if (chdk_active && ELAPSED(ms, chdk_timeout)) {
chdk_active = false;
if (chdk_timeout && ELAPSED(ms, chdk_timeout)) {
chdk_timeout = 0;
WRITE(CHDK_PIN, LOW);
}
#endif

4
Marlin/src/config/default/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/default/Configuration_adv.h

@ -1809,12 +1809,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h

@ -2025,10 +2025,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h

@ -1809,12 +1809,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h

@ -2014,10 +2014,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/Anet/A2/Configuration.h

@ -1996,10 +1996,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Anet/A2/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Anet/A2plus/Configuration.h

@ -1996,10 +1996,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Anet/A6/Configuration.h

@ -2148,10 +2148,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Anet/A6/Configuration_adv.h

@ -1807,12 +1807,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Anet/A8/Configuration.h

@ -2009,10 +2009,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Anet/A8/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/AnyCubic/i3/Configuration.h

@ -2004,10 +2004,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/ArmEd/Configuration.h

@ -1995,10 +1995,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/ArmEd/Configuration_adv.h

@ -1813,12 +1813,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h

@ -1807,12 +1807,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/BQ/Hephestos/Configuration.h

@ -1982,10 +1982,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h

@ -1816,12 +1816,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/BQ/WITBOX/Configuration.h

@ -1982,10 +1982,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Cartesio/Configuration.h

@ -1993,10 +1993,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Cartesio/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Creality/CR-10/Configuration.h

@ -2004,10 +2004,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Creality/CR-10S/Configuration.h

@ -1995,10 +1995,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h

@ -2013,10 +2013,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Creality/CR-8/Configuration.h

@ -2004,10 +2004,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Creality/Ender-2/Configuration.h

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Creality/Ender-3/Configuration.h

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Creality/Ender-4/Configuration.h

@ -2004,10 +2004,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Einstart-S/Configuration.h

@ -2000,10 +2000,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Einstart-S/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Felix/Configuration.h

@ -1976,10 +1976,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Felix/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Felix/DUAL/Configuration.h

@ -1976,10 +1976,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h

@ -1986,10 +1986,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h

@ -1807,12 +1807,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h

@ -2000,10 +2000,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Formbot/Raptor/Configuration.h

@ -2099,10 +2099,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h

@ -1810,12 +1810,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h

@ -2029,10 +2029,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h

@ -1813,12 +1813,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h

@ -2022,10 +2022,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h

@ -1813,12 +1813,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Geeetech/A10M/Configuration.h

@ -1979,10 +1979,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Geeetech/A10M/Configuration_adv.h

@ -1809,12 +1809,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Geeetech/A20M/Configuration.h

@ -1983,10 +1983,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Geeetech/A20M/Configuration_adv.h

@ -1809,12 +1809,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h

@ -2009,10 +2009,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h

@ -2001,10 +2001,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h

@ -1809,12 +1809,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h

@ -2010,10 +2010,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h

@ -2009,10 +2009,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/JGAurora/A5/Configuration.h

@ -2006,10 +2006,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/MakerParts/Configuration.h

@ -2014,10 +2014,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/MakerParts/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Malyan/M150/Configuration.h

@ -2022,10 +2022,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Malyan/M200/Configuration.h

@ -1993,10 +1993,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h

@ -1808,12 +1808,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Mks/Robin/Configuration.h

@ -1996,10 +1996,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Mks/Robin/Configuration_adv.h

@ -1809,12 +1809,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/Mks/Sbase/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h

@ -1816,12 +1816,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/RapideLite/RL200/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

28
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h

@ -1809,12 +1809,30 @@
// @section extras
/**
* Canon Hack Development Kit
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* Photo G-code
* Add the M240 G-code to take a photo.
* The photo can be triggered by a digital pin or a physical movement.
*/
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
#if PIN_EXISTS(CHDK)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
//#define PHOTO_GCODE
#if ENABLED(PHOTO_GCODE)
// A position to move to (and raise Z) before taking the photo
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// Canon Hack Development Kit
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
//#define CHDK_PIN 4
// Optional second move with delay to trigger the camera shutter
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
// Duration to hold the switch or keep CHDK_PIN high
//#define PHOTO_SWITCH_MS 50 // (ms)
#endif
/**

4
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h

@ -2043,10 +2043,6 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

4
Marlin/src/config/examples/RigidBot/Configuration.h

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
//#define PHOTOGRAPH_PIN 23
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save