Browse Source

Enable M240, set photo pins for 3DFabXYZ i3 (#13174)

Alain Martel 5 years ago
parent
commit
27203c62b8
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h

+ 4
- 4
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h View File

1813
  * Add the M240 G-code to take a photo.
1813
  * Add the M240 G-code to take a photo.
1814
  * The photo can be triggered by a digital pin or a physical movement.
1814
  * The photo can be triggered by a digital pin or a physical movement.
1815
  */
1815
  */
1816
-//#define PHOTO_GCODE
1816
+#define PHOTO_GCODE
1817
 #if ENABLED(PHOTO_GCODE)
1817
 #if ENABLED(PHOTO_GCODE)
1818
   // A position to move to (and raise Z) before taking the photo
1818
   // A position to move to (and raise Z) before taking the photo
1819
   //#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 }  // { xpos, ypos, zraise } (M240 X Y Z)
1819
   //#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 }  // { xpos, ypos, zraise } (M240 X Y Z)
1822
 
1822
 
1823
   // Canon RC-1 or homebrew digital camera trigger
1823
   // Canon RC-1 or homebrew digital camera trigger
1824
   // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
1824
   // Data from: http://www.doc-diy.net/photo/rc-1_hacked/
1825
-  //#define PHOTOGRAPH_PIN 23
1825
+  //#define PHOTOGRAPH_PIN 12
1826
 
1826
 
1827
   // Canon Hack Development Kit
1827
   // Canon Hack Development Kit
1828
   // http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
1828
   // http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
1829
-  //#define CHDK_PIN        4
1829
+  #define CHDK_PIN       12
1830
 
1830
 
1831
   // Optional second move with delay to trigger the camera shutter
1831
   // Optional second move with delay to trigger the camera shutter
1832
   //#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS }  // { xpos, ypos } (M240 I J)
1832
   //#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS }  // { xpos, ypos } (M240 I J)
1833
 
1833
 
1834
   // Duration to hold the switch or keep CHDK_PIN high
1834
   // Duration to hold the switch or keep CHDK_PIN high
1835
-  //#define PHOTO_SWITCH_MS   50 // (ms) (M240 D)
1835
+  #define PHOTO_SWITCH_MS   50 // (ms) (M240 D)
1836
 #endif
1836
 #endif
1837
 
1837
 
1838
 /**
1838
 /**

Loading…
Cancel
Save