ソースを参照

Add pin configuration for Brainwave Pro

Copied from jcrocholl's contributions to the OpenBeamUSA Marlin fork
Chris Petersen 9年前
コミット
ffaf1b4f22
2個のファイルの変更65行の追加0行の削除
  1. 2
    0
      Marlin/pins.h
  2. 63
    0
      Marlin/pins_BRAINWAVE_PRO.h

+ 2
- 0
Marlin/pins.h ファイルの表示

@@ -76,6 +76,8 @@
76 76
   #include "pins_PRINTRBOARD.h"
77 77
 #elif MB(BRAINWAVE)
78 78
   #include "pins_BRAINWAVE.h"
79
+#elif MB(BRAINWAVE_PRO)
80
+  #include "pins_BRAINWAVE_PRO.h"
79 81
 #elif MB(SAV_MKI)
80 82
   #include "pins_SAV_MKI.h"
81 83
 #elif MB(TEENSY2)

+ 63
- 0
Marlin/pins_BRAINWAVE_PRO.h ファイルの表示

@@ -0,0 +1,63 @@
1
+/**
2
+ * Brainwave Pro pin assignments (AT90USB186)
3
+ *
4
+ * Requires hardware bundle for Arduino:
5
+ * https://github.com/unrepentantgeek/brainwave-arduino
6
+ */
7
+
8
+#ifndef __AVR_AT90USB1286__
9
+  #error Oops!  Make sure you have 'Brainwave Pro' selected from the 'Tools -> Boards' menu.
10
+#endif
11
+
12
+#ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
13
+  #error  Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config
14
+#endif
15
+
16
+#define AT90USB 1286  // Disable MarlinSerial etc.
17
+
18
+#define X_STEP_PIN         33
19
+#define X_DIR_PIN          32
20
+#define X_ENABLE_PIN       11
21
+#define X_STOP_PIN         47
22
+
23
+#define Y_STEP_PIN         31
24
+#define Y_DIR_PIN          30
25
+#define Y_ENABLE_PIN        8
26
+#define Y_STOP_PIN         18
27
+
28
+#define Z_STEP_PIN         29
29
+#define Z_DIR_PIN          28
30
+#define Z_ENABLE_PIN       37
31
+#define Z_MAX_PIN          36
32
+#define Z_MIN_PIN          17  // Bed probe
33
+
34
+#define E0_STEP_PIN        35
35
+#define E0_DIR_PIN         34
36
+#define E0_ENABLE_PIN      13
37
+
38
+#define HEATER_0_PIN       15
39
+#define HEATER_1_PIN       -1
40
+#define HEATER_2_PIN       -1
41
+#define HEATER_BED_PIN     14  // Bed
42
+#define FAN_PIN            16  // Fan, PWM
43
+
44
+#define TEMP_0_PIN          2  // Extruder / Analog pin numbering
45
+#define TEMP_1_PIN          1  // Spare / Analog pin numbering
46
+#define TEMP_2_PIN         -1
47
+#define TEMP_BED_PIN        0  // Bed / Analog pin numbering
48
+
49
+#define SDPOWER            -1
50
+#define SDSS               20
51
+#define LED_PIN            19
52
+#define PS_ON_PIN          -1
53
+#define KILL_PIN           -1
54
+#define ALARM_PIN          -1
55
+#define SDCARDDETECT       12
56
+
57
+#ifndef SDSUPPORT
58
+// these pins are defined in the SD library if building with SD support
59
+  #define SCK_PIN          21
60
+  #define MISO_PIN         23
61
+  #define MOSI_PIN         22
62
+#endif
63
+

読み込み中…
キャンセル
保存