Browse Source

Rename RAMPS 1.3 pins for RAMPS 1.4

Scott Lahteine 8 years ago
parent
commit
679be3294f
3 changed files with 19 additions and 19 deletions
  1. 0
    9
      Marlin/pins_RAMPS_13_EFB.h
  2. 10
    10
      Marlin/pins_RAMPS_14.h
  3. 9
    0
      Marlin/pins_RAMPS_14_EFB.h

+ 0
- 9
Marlin/pins_RAMPS_13_EFB.h View File

@@ -1,9 +0,0 @@
1
-/**
2
- * Arduino Mega with RAMPS v1.3 pin assignments
3
- *
4
- *  RAMPS_13_EFB (Extruder, Fan, Bed)
5
- */
6
-
7
-#define IS_RAMPS_EFB
8
-
9
-#include "pins_RAMPS_13.h"

Marlin/pins_RAMPS_13.h → Marlin/pins_RAMPS_14.h View File

@@ -1,20 +1,20 @@
1 1
 /**
2
- * Arduino Mega with RAMPS v1.3 v1.4 pin assignments
2
+ * Arduino Mega with RAMPS v1.4 (or v1.3) pin assignments
3 3
  *
4 4
  * Applies to the following boards:
5 5
  *
6
- *  RAMPS_13_EFB (Extruder, Fan, Bed)
7
- *  RAMPS_13_EEB (Extruder, Extruder, Bed)
8
- *  RAMPS_13_EFF (Extruder, Fan, Fan)
9
- *  RAMPS_13_EEF (Extruder, Extruder, Fan)
10
- *  RAMPS_13_SF  (Spindle, Controller Fan)
11
- *
12 6
  *  RAMPS_14_EFB (Extruder, Fan, Bed)
13 7
  *  RAMPS_14_EEB (Extruder, Extruder, Bed)
14 8
  *  RAMPS_14_EFF (Extruder, Fan, Fan)
15 9
  *  RAMPS_14_EEF (Extruder, Extruder, Fan)
16 10
  *  RAMPS_14_SF  (Spindle, Controller Fan)
17 11
  *
12
+ *  RAMPS_13_EFB (Extruder, Fan, Bed)
13
+ *  RAMPS_13_EEB (Extruder, Extruder, Bed)
14
+ *  RAMPS_13_EFF (Extruder, Fan, Fan)
15
+ *  RAMPS_13_EEF (Extruder, Extruder, Fan)
16
+ *  RAMPS_13_SF  (Spindle, Controller Fan)
17
+ * 
18 18
  *  Other pins_MYBOARD.h files may override these defaults
19 19
  *
20 20
  *  Differences between
@@ -28,10 +28,10 @@
28 28
 
29 29
 #define LARGE_FLASH true
30 30
 
31
-#ifdef IS_RAMPS_14
32
-  #define SERVO0_PIN       11
33
-#else
31
+#ifdef IS_RAMPS_13
34 32
   #define SERVO0_PIN        7 // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI
33
+#else
34
+  #define SERVO0_PIN       11
35 35
 #endif
36 36
 #define SERVO1_PIN          6
37 37
 #define SERVO2_PIN          5

+ 9
- 0
Marlin/pins_RAMPS_14_EFB.h View File

@@ -0,0 +1,9 @@
1
+/**
2
+ * Arduino Mega with RAMPS v1.4 pin assignments
3
+ *
4
+ *  RAMPS_14_EFB (Extruder, Fan, Bed)
5
+ */
6
+
7
+#define IS_RAMPS_EFB
8
+
9
+#include "pins_RAMPS_14.h"

Loading…
Cancel
Save