|
@@ -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
|
+
|