Scott Lahteine
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
168 changed files with
1752 additions and
736 deletions
-
Marlin/Configuration.h
-
Marlin/Configuration_adv.h
-
Marlin/src/Marlin.cpp
-
Marlin/src/config/default/Configuration.h
-
Marlin/src/config/default/Configuration_adv.h
-
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration.h
-
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h
-
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
-
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
-
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
-
Marlin/src/config/examples/Anet/A2/Configuration.h
-
Marlin/src/config/examples/Anet/A2/Configuration_adv.h
-
Marlin/src/config/examples/Anet/A2plus/Configuration.h
-
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
-
Marlin/src/config/examples/Anet/A6/Configuration.h
-
Marlin/src/config/examples/Anet/A6/Configuration_adv.h
-
Marlin/src/config/examples/Anet/A8/Configuration.h
-
Marlin/src/config/examples/Anet/A8/Configuration_adv.h
-
Marlin/src/config/examples/AnyCubic/i3/Configuration.h
-
Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h
-
Marlin/src/config/examples/ArmEd/Configuration.h
-
Marlin/src/config/examples/ArmEd/Configuration_adv.h
-
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
-
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
-
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
-
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
-
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
-
Marlin/src/config/examples/BQ/Hephestos/Configuration.h
-
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
-
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
-
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
-
Marlin/src/config/examples/BQ/WITBOX/Configuration.h
-
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
-
Marlin/src/config/examples/Cartesio/Configuration.h
-
Marlin/src/config/examples/Cartesio/Configuration_adv.h
-
Marlin/src/config/examples/Creality/CR-10/Configuration.h
-
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
-
Marlin/src/config/examples/Creality/CR-10S/Configuration.h
-
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
-
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
-
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
-
Marlin/src/config/examples/Creality/CR-8/Configuration.h
-
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
-
Marlin/src/config/examples/Creality/Ender-2/Configuration.h
-
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
-
Marlin/src/config/examples/Creality/Ender-3/Configuration.h
-
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
-
Marlin/src/config/examples/Creality/Ender-4/Configuration.h
-
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
-
Marlin/src/config/examples/Einstart-S/Configuration.h
-
Marlin/src/config/examples/Einstart-S/Configuration_adv.h
-
Marlin/src/config/examples/Felix/Configuration.h
-
Marlin/src/config/examples/Felix/Configuration_adv.h
-
Marlin/src/config/examples/Felix/DUAL/Configuration.h
-
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration.h
-
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h
-
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
-
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
-
Marlin/src/config/examples/Formbot/Raptor/Configuration.h
-
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
-
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
-
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
-
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
-
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
-
Marlin/src/config/examples/Geeetech/A10M/Configuration.h
-
Marlin/src/config/examples/Geeetech/A10M/Configuration_adv.h
-
Marlin/src/config/examples/Geeetech/A20M/Configuration.h
-
Marlin/src/config/examples/Geeetech/A20M/Configuration_adv.h
-
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
-
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
-
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
-
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
-
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
-
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
-
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
-
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
-
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
-
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
-
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
-
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
-
Marlin/src/config/examples/JGAurora/A5/Configuration.h
-
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
-
Marlin/src/config/examples/MakerParts/Configuration.h
-
Marlin/src/config/examples/MakerParts/Configuration_adv.h
-
Marlin/src/config/examples/Malyan/M150/Configuration.h
-
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
-
Marlin/src/config/examples/Malyan/M200/Configuration.h
-
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
-
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
-
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
-
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
-
Marlin/src/config/examples/Mks/Robin/Configuration.h
-
Marlin/src/config/examples/Mks/Robin/Configuration_adv.h
-
Marlin/src/config/examples/Mks/Sbase/Configuration.h
-
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
-
Marlin/src/config/examples/RapideLite/RL200/Configuration.h
-
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h
-
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
-
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
-
Marlin/src/config/examples/RigidBot/Configuration.h
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1809,12 +1809,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -195,7 +195,6 @@ millis_t max_inactive_time, // = 0 |
|
|
|
stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL; |
|
|
|
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
extern bool chdk_active; |
|
|
|
extern millis_t chdk_timeout; |
|
|
|
#endif |
|
|
|
|
|
|
@ -482,8 +481,8 @@ void manage_inactivity(const bool ignore_stepper_queue/*=false*/) { |
|
|
|
} |
|
|
|
|
|
|
|
#if PIN_EXISTS(CHDK) // Check if pin should be set to LOW (after M240 set it HIGH)
|
|
|
|
if (chdk_active && ELAPSED(ms, chdk_timeout)) { |
|
|
|
chdk_active = false; |
|
|
|
if (chdk_timeout && ELAPSED(ms, chdk_timeout)) { |
|
|
|
chdk_timeout = 0; |
|
|
|
WRITE(CHDK_PIN, LOW); |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1809,12 +1809,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2025,10 +2025,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1809,12 +1809,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2014,10 +2014,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1996,10 +1996,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1996,10 +1996,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2148,10 +2148,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1807,12 +1807,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2009,10 +2009,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2004,10 +2004,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1995,10 +1995,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1813,12 +1813,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
#define TEMP_STAT_LEDS |
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1807,12 +1807,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1982,10 +1982,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1816,12 +1816,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1982,10 +1982,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1993,10 +1993,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
#define TEMP_STAT_LEDS |
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2004,10 +2004,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1995,10 +1995,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2013,10 +2013,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2004,10 +2004,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1998,10 +1998,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1998,10 +1998,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2004,10 +2004,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2000,10 +2000,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1976,10 +1976,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1976,10 +1976,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1986,10 +1986,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1807,12 +1807,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2000,10 +2000,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2099,10 +2099,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1810,12 +1810,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2029,10 +2029,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1813,12 +1813,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2022,10 +2022,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1813,12 +1813,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1979,10 +1979,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1809,12 +1809,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1983,10 +1983,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1809,12 +1809,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2009,10 +2009,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -2001,10 +2001,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1809,12 +1809,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2010,10 +2010,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -2009,10 +2009,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1998,10 +1998,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2006,10 +2006,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2014,10 +2014,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2022,10 +2022,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1993,10 +1993,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1998,10 +1998,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1998,10 +1998,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1808,12 +1808,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1996,10 +1996,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1809,12 +1809,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1816,12 +1816,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1809,12 +1809,30 @@ |
|
|
|
// @section extras
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Canon Hack Development Kit |
|
|
|
* http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
*/ |
|
|
|
//#define CHDK_PIN 4 // Set and enable a pin for triggering CHDK to take a picture
|
|
|
|
#if PIN_EXISTS(CHDK) |
|
|
|
#define CHDK_DELAY 50 // (ms) How long the pin should remain HIGH
|
|
|
|
* Photo G-code |
|
|
|
* Add the M240 G-code to take a photo. |
|
|
|
* The photo can be triggered by a digital pin or a physical movement. |
|
|
|
*/ |
|
|
|
//#define PHOTO_GCODE
|
|
|
|
#if ENABLED(PHOTO_GCODE) |
|
|
|
// A position to move to (and raise Z) before taking the photo
|
|
|
|
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise }
|
|
|
|
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back
|
|
|
|
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move
|
|
|
|
|
|
|
|
// Canon RC-1 or homebrew digital camera trigger
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// Canon Hack Development Kit
|
|
|
|
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
|
|
|
//#define CHDK_PIN 4
|
|
|
|
|
|
|
|
// Optional second move with delay to trigger the camera shutter
|
|
|
|
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos }
|
|
|
|
|
|
|
|
// Duration to hold the switch or keep CHDK_PIN high
|
|
|
|
//#define PHOTO_SWITCH_MS 50 // (ms)
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
@ -2043,10 +2043,6 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|
|
|
@ -1994,10 +1994,6 @@ |
|
|
|
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
|
|
|
|
//#define TEMP_STAT_LEDS
|
|
|
|
|
|
|
|
// M240 Triggers a camera by emulating a Canon RC-1 Remote
|
|
|
|
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
|
|
|
//#define PHOTOGRAPH_PIN 23
|
|
|
|
|
|
|
|
// SkeinForge sends the wrong arc g-codes when using Arc Point as fillet procedure
|
|
|
|
//#define SF_ARC_FIX
|
|
|
|
|
|
|
|