Browse Source

Update pins.h

Leapfrog board added to the pin list
bonm014 10 years ago
parent
commit
f244045245
1 changed files with 66 additions and 0 deletions
  1. 66
    0
      Marlin/pins.h

+ 66
- 0
Marlin/pins.h View File

@@ -95,6 +95,72 @@
95 95
 #endif /* 88 */
96 96
 
97 97
 /****************************************************************************************
98
+* Leapfrog Driver board
99
+* 
100
+****************************************************************************************/
101
+#if MOTHERBOARD == 999  // Leapfrog board
102
+#define KNOWN_BOARD 1
103
+
104
+#ifndef __AVR_ATmega1280__
105
+ #ifndef __AVR_ATmega2560__
106
+ #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
107
+ #endif
108
+#endif
109
+
110
+#define X_STEP_PIN         28
111
+#define X_DIR_PIN          63
112
+#define X_ENABLE_PIN       29
113
+#define X_MIN_PIN          47
114
+#define X_MAX_PIN          -1   //2 //Max endstops default to disabled "-1", set to commented value to enable.
115
+
116
+#define Y_STEP_PIN         14 // A6
117
+#define Y_DIR_PIN          15 // A0
118
+#define Y_ENABLE_PIN       39
119
+#define Y_MIN_PIN          48
120
+#define Y_MAX_PIN          -1   //15
121
+
122
+#define Z_STEP_PIN         31 // A2
123
+#define Z_DIR_PIN          32 // A6
124
+#define Z_ENABLE_PIN       30 // A1
125
+#define Z_MIN_PIN          49
126
+#define Z_MAX_PIN          -1
127
+
128
+#define E0_STEP_PIN         34  //34
129
+#define E0_DIR_PIN          35 //35
130
+#define E0_ENABLE_PIN       33 //33
131
+
132
+#define E1_STEP_PIN         37 //37
133
+#define E1_DIR_PIN          40 //40
134
+#define E1_ENABLE_PIN       36 //36
135
+
136
+#define Y2_STEP_PIN         37
137
+#define Y2_DIR_PIN          40
138
+#define Y2_ENABLE_PIN       36
139
+
140
+#define SDPOWER            -1
141
+#define SDSS               11
142
+#define SDCARDDETECT       -1 // 10 optional also used as mode pin
143
+#define LED_PIN            13
144
+#define FAN_PIN            7
145
+#define PS_ON_PIN          -1
146
+#define KILL_PIN           -1
147
+#define SOL1_PIN   16
148
+#define SOL2_PIN    17
149
+
150
+#define HEATER_0_PIN       9
151
+#define HEATER_1_PIN       8 // 12
152
+#define HEATER_2_PIN       11 //-1 // 13
153
+#define TEMP_0_PIN         13 //D27   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
154
+#define TEMP_1_PIN         15 // 1
155
+#define TEMP_2_PIN         -1 // 2
156
+#define HEATER_BED_PIN     10 // 14/15
157
+#define TEMP_BED_PIN       14 // 1,2 or I2C
158
+/*  Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31)  */
159
+
160
+
161
+#endif
162
+
163
+/****************************************************************************************
98 164
 *
99 165
 *
100 166
 ****************************************************************************************/

Loading…
Cancel
Save