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

This commit is contained in:
Scott Lahteine 2019-02-14 15:09:35 -06:00 committed by GitHub
parent be9a409980
commit d2bdb71c13
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
168 changed files with 1752 additions and 736 deletions

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -195,7 +195,6 @@ millis_t max_inactive_time, // = 0
stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL; stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL;
#if PIN_EXISTS(CHDK) #if PIN_EXISTS(CHDK)
extern bool chdk_active;
extern millis_t chdk_timeout; extern millis_t chdk_timeout;
#endif #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 PIN_EXISTS(CHDK) // Check if pin should be set to LOW (after M240 set it HIGH)
if (chdk_active && ELAPSED(ms, chdk_timeout)) { if (chdk_timeout && ELAPSED(ms, chdk_timeout)) {
chdk_active = false; chdk_timeout = 0;
WRITE(CHDK_PIN, LOW); WRITE(CHDK_PIN, LOW);
} }
#endif #endif

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2025,10 +2025,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2014,10 +2014,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1996,10 +1996,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1996,10 +1996,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2148,10 +2148,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1807,12 +1807,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2009,10 +2009,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2004,10 +2004,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1995,10 +1995,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1813,12 +1813,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
#define TEMP_STAT_LEDS #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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1807,12 +1807,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1982,10 +1982,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1816,12 +1816,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1982,10 +1982,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1993,10 +1993,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
#define TEMP_STAT_LEDS #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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2004,10 +2004,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1995,10 +1995,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2013,10 +2013,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2004,10 +2004,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2004,10 +2004,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2000,10 +2000,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1976,10 +1976,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1976,10 +1976,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1986,10 +1986,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1807,12 +1807,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2000,10 +2000,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2099,10 +2099,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2029,10 +2029,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1813,12 +1813,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2022,10 +2022,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1813,12 +1813,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1979,10 +1979,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1983,10 +1983,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2009,10 +2009,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -2001,10 +2001,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2010,10 +2010,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -2009,10 +2009,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2006,10 +2006,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2014,10 +2014,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2022,10 +2022,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1993,10 +1993,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1996,10 +1996,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1816,12 +1816,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -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) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2007,10 +2007,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1996,10 +1996,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -2025,10 +2025,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2050,10 +2050,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1998,10 +1998,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1993,10 +1993,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -2005,10 +2005,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2003,10 +2003,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2029,10 +2029,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1821,12 +1821,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -2013,10 +2013,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2007,10 +2007,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1994,10 +1994,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -2184,10 +2184,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2122,10 +2122,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2121,10 +2121,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2121,10 +2121,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2112,10 +2112,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1811,12 +1811,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2124,10 +2124,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -2109,10 +2109,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2113,10 +2113,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2109,10 +2109,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2111,10 +2111,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2112,10 +2112,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -2112,10 +2112,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1810,12 +1810,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -2008,10 +2008,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1997,10 +1997,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1996,10 +1996,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1989,10 +1989,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1808,12 +1808,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -1999,10 +1999,6 @@
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) // then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
//#define TEMP_STAT_LEDS //#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 // SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX //#define SF_ARC_FIX

View file

@ -1809,12 +1809,30 @@
// @section extras // @section extras
/** /**
* Canon Hack Development Kit * Photo G-code
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/ * 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 //#define PHOTO_GCODE
#if PIN_EXISTS(CHDK) #if ENABLED(PHOTO_GCODE)
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH // 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 #endif
/** /**

View file

@ -22,24 +22,99 @@
#include "../../../inc/MarlinConfig.h" #include "../../../inc/MarlinConfig.h"
#if PIN_EXISTS(CHDK) || HAS_PHOTOGRAPH #if ENABLED(PHOTO_GCODE)
#include "../../gcode.h" #include "../../gcode.h"
#include "../../../module/motion.h" // for active_extruder and current_position
bool chdk_active; // = false #if PIN_EXISTS(CHDK)
millis_t chdk_timeout; millis_t chdk_timeout; // = 0
#endif
#ifdef PHOTO_RETRACT_MM
#define _PHOTO_RETRACT_MM (PHOTO_RETRACT_MM + 0)
#include "../../../module/planner.h"
#include "../../../module/temperature.h"
#if ENABLED(ADVANCED_PAUSE_FEATURE)
#include "../../../feature/pause.h"
#endif
inline void e_move_m240(const float length) {
if (_PHOTO_RETRACT_MM) {
constexpr float rfr = (MMS_TO_MMM(
#if ENABLED(ADVANCED_PAUSE_FEATURE)
PAUSE_PARK_RETRACT_FEEDRATE
#elif ENABLED(FWRETRACT)
RETRACT_FEEDRATE
#else
45
#endif
));
if (thermalManager.hotEnoughToExtrude(active_extruder)) {
#if ENABLED(ADVANCED_PAUSE_FEATURE)
do_pause_e_move(length, rfr);
#else
current_position[E_AXIS] += length / planner.e_factor[active_extruder];
planner.buffer_line(current_position, MMM_TO_MMS(rfr), active_extruder);
#endif
}
}
}
#endif
/** /**
* M240: Trigger a camera by emulating a Canon RC-1 * M240: Trigger a camera by...
*
* - CHDK : Emulate a Canon RC-1 with a configurable ON duration.
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
* - PHOTOGRAPH_PIN : Pulse a digital pin 16 times.
* See http://www.doc-diy.net/photo/rc-1_hacked/ * See http://www.doc-diy.net/photo/rc-1_hacked/
* - PHOTO_SWITCH_POSITION : Bump a physical switch with the X-carriage using a
* configured position, delay, and retract length.
* Parameters:
* X - Move to X before triggering the shutter (Requires PHOTO_POSITION)
* Y - Move to Y before triggering the shutter (Requires PHOTO_POSITION)
* Z - Raise Z by a distance before triggering the shutter (Requires PHOTO_POSITION)
* P - Delay (ms) after triggering the shutter
*/ */
void GcodeSuite::M240() { void GcodeSuite::M240() {
#ifdef PHOTO_POSITION
const float old_pos[XYZ] = { current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS] };
#ifdef PHOTO_RETRACT_MM
e_move_m240(-(_PHOTO_RETRACT_MM));
#endif
constexpr float photo_position[XYZ] = PHOTO_POSITION;
float raw[XYZ] = {
parser.seenval('X') ? RAW_X_POSITION(parser.value_linear_units()) : photo_position[X_AXIS],
parser.seenval('Y') ? RAW_Y_POSITION(parser.value_linear_units()) : photo_position[X_AXIS],
(parser.seenval('Z') ? parser.value_linear_units() : photo_position[Z_AXIS]) + current_position[Z_AXIS]
};
clamp_to_software_endstops(raw);
do_blocking_move_to(raw);
#ifdef PHOTO_SWITCH_POSITION
const float photo_switch_position[2] = PHOTO_SWITCH_POSITION;
do_blocking_move_to_xy(photo_switch_position[X_AXIS], photo_switch_position[Y_AXIS], get_homing_bump_feedrate(X_AXIS));
#if PHOTO_SWITCH_MS > 0
safe_delay(PHOTO_SWITCH_MS);
#endif
do_blocking_move_to(raw);
#endif
#endif
#if PIN_EXISTS(CHDK) #if PIN_EXISTS(CHDK)
OUT_WRITE(CHDK_PIN, HIGH); OUT_WRITE(CHDK_PIN, HIGH);
chdk_timeout = millis() + CHDK_DELAY; chdk_timeout = millis() + PHOTO_SWITCH_MS;
chdk_active = true;
#elif HAS_PHOTOGRAPH #elif HAS_PHOTOGRAPH
@ -60,6 +135,16 @@ void GcodeSuite::M240() {
} }
#endif #endif
#ifdef PHOTO_POSITION
#if PHOTO_DELAY_MS > 0
safe_delay(parser.intval('P', PHOTO_DELAY_MS));
#endif
do_blocking_move_to(old_pos);
#ifdef PHOTO_RETRACT_MM
e_move_m240(_PHOTO_RETRACT_MM);
#endif
#endif
} }
#endif // CHDK_PIN || HAS_PHOTOGRAPH #endif // PHOTO_GCODE

View file

@ -524,8 +524,8 @@ void GcodeSuite::process_parsed_command(
case 304: M304(); break; // M304: Set bed PID parameters case 304: M304(); break; // M304: Set bed PID parameters
#endif #endif
#if PIN_EXISTS(CHDK) || HAS_PHOTOGRAPH #if ENABLED(PHOTO_GCODE)
case 240: M240(); break; // M240: Trigger a camera by emulating a Canon RC-1 : http://www.doc-diy.net/photo/rc-1_hacked/ case 240: M240(); break; // M240: Trigger a camera
#endif #endif
#if HAS_LCD_CONTRAST #if HAS_LCD_CONTRAST

View file

@ -172,7 +172,7 @@
* M220 - Set Feedrate Percentage: "M220 S<percent>" (i.e., "FR" on the LCD) * M220 - Set Feedrate Percentage: "M220 S<percent>" (i.e., "FR" on the LCD)
* M221 - Set Flow Percentage: "M221 S<percent>" * M221 - Set Flow Percentage: "M221 S<percent>"
* M226 - Wait until a pin is in a given state: "M226 P<pin> S<state>" * M226 - Wait until a pin is in a given state: "M226 P<pin> S<state>"
* M240 - Trigger a camera to take a photograph. (Requires CHDK_PIN or PHOTOGRAPH_PIN) * M240 - Trigger a camera to take a photograph. (Requires PHOTO_GCODE)
* M250 - Set LCD contrast: "M250 C<contrast>" (0-63). (Requires LCD support) * M250 - Set LCD contrast: "M250 C<contrast>" (0-63). (Requires LCD support)
* M260 - i2c Send Data (Requires EXPERIMENTAL_I2CBUS) * M260 - i2c Send Data (Requires EXPERIMENTAL_I2CBUS)
* M261 - i2c Request Data (Requires EXPERIMENTAL_I2CBUS) * M261 - i2c Request Data (Requires EXPERIMENTAL_I2CBUS)
@ -639,7 +639,7 @@ private:
static void M221(); static void M221();
static void M226(); static void M226();
#if PIN_EXISTS(CHDK) || HAS_PHOTOGRAPH #if ENABLED(PHOTO_GCODE)
static void M240(); static void M240();
#endif #endif

View file

@ -2073,6 +2073,23 @@ static_assert(sanity_arr_3[0] > 0 && sanity_arr_3[1] > 0 && sanity_arr_3[2] > 0
#error "GRADIENT_MIX requires 2 or more MIXING_VIRTUAL_TOOLS." #error "GRADIENT_MIX requires 2 or more MIXING_VIRTUAL_TOOLS."
#endif #endif
/**
* Photo G-code requirements
*/
#if ENABLED(PHOTO_GCODE)
#if (PIN_EXISTS(CHDK) + PIN_EXISTS(PHOTOGRAPH_PIN) + defined(PHOTO_SWITCH_POSITION)) > 1
#error "Please define only one of CHDK_PIN, PHOTOGRAPH_PIN, or PHOTO_SWITCH_POSITION."
#elif defined(PHOTO_SWITCH_POSITION) && !defined(PHOTO_POSITION)
#error "PHOTO_SWITCH_POSITION requires PHOTO_POSITION. Please update your Configuration_adv.h."
#elif PIN_EXISTS(CHDK) && defined(CHDK_DELAY)
#error "CHDK_DELAY has been replaced by PHOTO_SWITCH_MS. Please update your Configuration_adv.h."
#elif PIN_EXISTS(CHDK) && !defined(PHOTO_SWITCH_MS)
#error "PHOTO_SWITCH_MS is required with CHDK_PIN. Please update your Configuration_adv.h."
#elif defined(PHOTO_RETRACT_MM)
static_assert(PHOTO_RETRACT_MM + 0 >= 0, "PHOTO_RETRACT_MM must be >= 0.");
#endif
#endif
/** /**
* Prusa MMU2 requirements * Prusa MMU2 requirements
*/ */

View file

@ -19,12 +19,13 @@ opt_set EXTRUDERS 2
opt_set TEMP_SENSOR_0 1 opt_set TEMP_SENSOR_0 1
opt_set TEMP_SENSOR_1 5 opt_set TEMP_SENSOR_1 5
opt_set TEMP_SENSOR_BED 1 opt_set TEMP_SENSOR_BED 1
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT \ opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD_INFO_MENU SDSUPPORT SDCARD_SORT_ALPHA \
FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY CALIBRATION_GCODE \ FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY CALIBRATION_GCODE \
FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \ FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \ BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER \ PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER \
ADVANCED_PAUSE_FEATURE LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA PARK_HEAD_ON_PAUSE \ ADVANCED_PAUSE_FEATURE ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES PARK_HEAD_ON_PAUSE \
PHOTO_GCODE PHOTO_POSITION PHOTO_SWITCH_POSITION PHOTO_SWITCH_MS PHOTO_DELAY_MS PHOTO_RETRACT_MM \
HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT
opt_set I2C_SLAVE_ADDRESS 63 opt_set I2C_SLAVE_ADDRESS 63
opt_set GRID_MAX_POINTS_X 16 opt_set GRID_MAX_POINTS_X 16