Enable M240, set photo pins for 3DFabXYZ i3 (#13174)
This commit is contained in:
parent
3025ddf179
commit
27203c62b8
1 changed files with 4 additions and 4 deletions
|
@ -1813,7 +1813,7 @@
|
|||
* 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
|
||||
#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 } (M240 X Y Z)
|
||||
|
@ -1822,17 +1822,17 @@
|
|||
|
||||
// Canon RC-1 or homebrew digital camera trigger
|
||||
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
|
||||
//#define PHOTOGRAPH_PIN 23
|
||||
//#define PHOTOGRAPH_PIN 12
|
||||
|
||||
// Canon Hack Development Kit
|
||||
// http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
|
||||
//#define CHDK_PIN 4
|
||||
#define CHDK_PIN 12
|
||||
|
||||
// Optional second move with delay to trigger the camera shutter
|
||||
//#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos } (M240 I J)
|
||||
|
||||
// Duration to hold the switch or keep CHDK_PIN high
|
||||
//#define PHOTO_SWITCH_MS 50 // (ms) (M240 D)
|
||||
#define PHOTO_SWITCH_MS 50 // (ms) (M240 D)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue