Browse Source

Merge pull request #991 from bonm014/patch-1

Leapfrog controller board support
Erik van der Zalm 10 years ago
parent
commit
0fbfb1bf82
2 changed files with 71 additions and 0 deletions
  1. 1
    0
      Marlin/Configuration.h
  2. 70
    0
      Marlin/pins.h

+ 1
- 0
Marlin/Configuration.h View File

@@ -72,6 +72,7 @@
72 72
 // 301= Rambo
73 73
 // 21 = Elefu Ra Board (v3)
74 74
 // 88 = 5DPrint D8 Driver Board
75
+// 999 = Leapfrog
75 76
 
76 77
 #ifndef MOTHERBOARD
77 78
 #define MOTHERBOARD 7

+ 70
- 0
Marlin/pins.h View File

@@ -95,6 +95,76 @@
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 Z2_STEP_PIN         37
141
+#define Z2_DIR_PIN          40
142
+#define Z2_ENABLE_PIN       36
143
+
144
+#define SDPOWER            -1
145
+#define SDSS               11
146
+#define SDCARDDETECT       -1 // 10 optional also used as mode pin
147
+#define LED_PIN            13
148
+#define FAN_PIN            7
149
+#define PS_ON_PIN          -1
150
+#define KILL_PIN           -1
151
+#define SOL1_PIN   16
152
+#define SOL2_PIN    17
153
+
154
+#define HEATER_0_PIN       9
155
+#define HEATER_1_PIN       8 // 12
156
+#define HEATER_2_PIN       11 //-1 // 13
157
+#define TEMP_0_PIN         13 //D27   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
158
+#define TEMP_1_PIN         15 // 1
159
+#define TEMP_2_PIN         -1 // 2
160
+#define HEATER_BED_PIN     10 // 14/15
161
+#define TEMP_BED_PIN       14 // 1,2 or I2C
162
+/*  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)  */
163
+
164
+
165
+#endif
166
+
167
+/****************************************************************************************
98 168
 *
99 169
 *
100 170
 ****************************************************************************************/

Loading…
Cancel
Save