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
No known key found for this signature in database
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

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