Add servos to pins_FYSTEC_F6_13.h

This commit is contained in:
Scott Lahteine 2018-11-04 06:07:05 -06:00
parent 67b22760d9
commit 608be966d7

View file

@ -32,6 +32,14 @@
#define BOARD_NAME "FYSETC_F6_13" #define BOARD_NAME "FYSETC_F6_13"
#endif #endif
//
// Servos
//
#define SERVO0_PIN 13
#define SERVO1_PIN 11 // (PS_ON_PIN)
#define SERVO2_PIN 10 // (FIL_RUNOUT_PIN)
#define SERVO3_PIN 4 // (RGB_LED_G_PIN)
// //
// Limit Switches // Limit Switches
// //
@ -43,7 +51,7 @@
#define Z_MAX_PIN 9 #define Z_MAX_PIN 9
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 10 #define FIL_RUNOUT_PIN SERVO2_PIN
#endif #endif
// //
@ -158,14 +166,14 @@
#define KILL_PIN 41 #define KILL_PIN 41
#ifndef PS_ON_PIN #ifndef PS_ON_PIN
#define PS_ON_PIN 11 // Servos pin #define PS_ON_PIN SERVO1_PIN
#endif #endif
#ifndef RGB_LED_R_PIN #ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN 3 #define RGB_LED_R_PIN 3
#endif #endif
#ifndef RGB_LED_G_PIN #ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN 4 #define RGB_LED_G_PIN SERVO3_PIN
#endif #endif
#ifndef RGB_LED_B_PIN #ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN 9 #define RGB_LED_B_PIN 9