Add M240 parameters D I J R S

This commit is contained in:
Scott Lahteine
2019-02-14 16:41:46 -06:00
parent 31c240a8db
commit e00aad84af
74 changed files with 409 additions and 397 deletions

View File

@ -1816,9 +1816,9 @@
//#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
//#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise } (M240 X Y Z)
//#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back (M240 P)
//#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move (M240 R S)
// Canon RC-1 or homebrew digital camera trigger
// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
@ -1829,10 +1829,10 @@
//#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 }
//#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)
//#define PHOTO_SWITCH_MS 50 // (ms) (M240 D)
#endif
/**