瀏覽代碼

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

Alain Martel 5 年之前
父節點
當前提交
27203c62b8
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. 4
    4
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h

+ 4
- 4
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h 查看文件

@@ -1813,7 +1813,7 @@
1813 1813
  * Add the M240 G-code to take a photo.
1814 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 1817
 #if ENABLED(PHOTO_GCODE)
1818 1818
   // A position to move to (and raise Z) before taking the photo
1819 1819
   //#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 }  // { xpos, ypos, zraise } (M240 X Y Z)
@@ -1822,17 +1822,17 @@
1822 1822
 
1823 1823
   // Canon RC-1 or homebrew digital camera trigger
1824 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 1827
   // Canon Hack Development Kit
1828 1828
   // http://captain-slow.dk/2014/03/09/3d-printing-timelapses/
1829
-  //#define CHDK_PIN        4
1829
+  #define CHDK_PIN       12
1830 1830
 
1831 1831
   // Optional second move with delay to trigger the camera shutter
1832 1832
   //#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS }  // { xpos, ypos } (M240 I J)
1833 1833
 
1834 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 1836
 #endif
1837 1837
 
1838 1838
 /**

Loading…
取消
儲存