Browse Source

Add servos to pins_FYSTEC_F6_13.h

Scott Lahteine 6 years ago
parent
commit
608be966d7
1 changed files with 11 additions and 3 deletions
  1. 11
    3
      Marlin/src/pins/pins_FYSETC_F6_13.h

+ 11
- 3
Marlin/src/pins/pins_FYSETC_F6_13.h View File

33
 #endif
33
 #endif
34
 
34
 
35
 //
35
 //
36
+// Servos
37
+//
38
+#define SERVO0_PIN         13
39
+#define SERVO1_PIN         11    // (PS_ON_PIN)
40
+#define SERVO2_PIN         10    // (FIL_RUNOUT_PIN)
41
+#define SERVO3_PIN          4    // (RGB_LED_G_PIN)
42
+
43
+//
36
 // Limit Switches
44
 // Limit Switches
37
 //
45
 //
38
 #define X_MIN_PIN          63
46
 #define X_MIN_PIN          63
43
 #define Z_MAX_PIN           9
51
 #define Z_MAX_PIN           9
44
 
52
 
45
 #ifndef FIL_RUNOUT_PIN
53
 #ifndef FIL_RUNOUT_PIN
46
-  #define FIL_RUNOUT_PIN   10
54
+  #define FIL_RUNOUT_PIN   SERVO2_PIN
47
 #endif
55
 #endif
48
 
56
 
49
 //
57
 //
158
 #define KILL_PIN           41
166
 #define KILL_PIN           41
159
 
167
 
160
 #ifndef PS_ON_PIN
168
 #ifndef PS_ON_PIN
161
-  #define PS_ON_PIN        11   // Servos pin
169
+  #define PS_ON_PIN        SERVO1_PIN
162
 #endif
170
 #endif
163
 
171
 
164
 #ifndef RGB_LED_R_PIN
172
 #ifndef RGB_LED_R_PIN
165
   #define RGB_LED_R_PIN     3
173
   #define RGB_LED_R_PIN     3
166
 #endif
174
 #endif
167
 #ifndef RGB_LED_G_PIN
175
 #ifndef RGB_LED_G_PIN
168
-  #define RGB_LED_G_PIN     4
176
+  #define RGB_LED_G_PIN    SERVO3_PIN
169
 #endif
177
 #endif
170
 #ifndef RGB_LED_B_PIN
178
 #ifndef RGB_LED_B_PIN
171
   #define RGB_LED_B_PIN     9
179
   #define RGB_LED_B_PIN     9

Loading…
Cancel
Save