mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
♻️ FAN_PIN => FAN0_PIN
This commit is contained in:
parent
5e8c7b32a2
commit
d0fbc94010
@ -73,8 +73,8 @@
|
||||
/**
|
||||
* Checks for SOFT PWM
|
||||
*/
|
||||
#if HAS_FAN0 && FAN_PIN == 9 && DISABLED(FAN_SOFT_PWM) && ENABLED(SPEAKER)
|
||||
#error "FAN_PIN 9 Hardware PWM uses Timer 2 which conflicts with Arduino AVR Tone Timer (for SPEAKER)."
|
||||
#if HAS_FAN0 && FAN0_PIN == 9 && DISABLED(FAN_SOFT_PWM) && ENABLED(SPEAKER)
|
||||
#error "FAN0_PIN 9 Hardware PWM uses Timer 2 which conflicts with Arduino AVR Tone Timer (for SPEAKER)."
|
||||
#error "Disable SPEAKER or enable FAN_SOFT_PWM."
|
||||
#endif
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
||||
* Check for common serial pin conflicts
|
||||
*/
|
||||
#define _CHECK_SERIAL_PIN(N) (( \
|
||||
BTN_EN1 == N || DOGLCD_CS == N || HEATER_BED_PIN == N || FAN_PIN == N || \
|
||||
BTN_EN1 == N || DOGLCD_CS == N || HEATER_BED_PIN == N || FAN0_PIN == N || \
|
||||
SDIO_D2_PIN == N || SDIO_D3_PIN == N || SDIO_CK_PIN == N || SDIO_CMD_PIN == N \
|
||||
))
|
||||
#define CHECK_SERIAL_PIN(T,N) defined(UART##N##_##T##_PIN) && _CHECK_SERIAL_PIN(UART##N##_##T##_PIN)
|
||||
|
@ -81,7 +81,7 @@ typedef uint16_t hal_timer_t;
|
||||
#endif
|
||||
|
||||
#if MB(BTT_SKR_MINI_E3_V1_0, BTT_SKR_E3_DIP, BTT_SKR_MINI_E3_V1_2, MKS_ROBIN_LITE, MKS_ROBIN_E3D, MKS_ROBIN_E3)
|
||||
// SKR Mini E3 boards use PA8 as FAN_PIN, so TIMER 1 is used for Fan PWM.
|
||||
// SKR Mini E3 boards use PA8 as FAN0_PIN, so TIMER 1 is used for Fan PWM.
|
||||
#ifdef STM32_HIGH_DENSITY
|
||||
#define MF_TIMER_SERVO0 8 // tone.cpp uses Timer 4
|
||||
#else
|
||||
|
@ -2685,7 +2685,7 @@
|
||||
&& _NOT_E_AUTO(6,F) \
|
||||
&& _NOT_E_AUTO(7,F) \
|
||||
&& F < MAX_FANS)
|
||||
#if PIN_EXISTS(FAN)
|
||||
#if PIN_EXISTS(FAN0)
|
||||
#define HAS_FAN0 1
|
||||
#endif
|
||||
#if _HAS_FAN(1)
|
||||
|
@ -2286,21 +2286,21 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE, "Movement bounds (X_MIN_POS, X_MAX_POS
|
||||
*/
|
||||
#if HAS_AUTO_FAN
|
||||
#if HAS_FAN0
|
||||
#if PIN_EXISTS(E0_AUTO_FAN) && E0_AUTO_FAN_PIN == FAN_PIN
|
||||
#error "You cannot set E0_AUTO_FAN_PIN equal to FAN_PIN."
|
||||
#elif PIN_EXISTS(E1_AUTO_FAN) && E1_AUTO_FAN_PIN == FAN_PIN
|
||||
#error "You cannot set E1_AUTO_FAN_PIN equal to FAN_PIN."
|
||||
#elif PIN_EXISTS(E2_AUTO_FAN) && E2_AUTO_FAN_PIN == FAN_PIN
|
||||
#error "You cannot set E2_AUTO_FAN_PIN equal to FAN_PIN."
|
||||
#elif PIN_EXISTS(E3_AUTO_FAN) && E3_AUTO_FAN_PIN == FAN_PIN
|
||||
#error "You cannot set E3_AUTO_FAN_PIN equal to FAN_PIN."
|
||||
#if PIN_EXISTS(E0_AUTO_FAN) && E0_AUTO_FAN_PIN == FAN0_PIN
|
||||
#error "You cannot set E0_AUTO_FAN_PIN equal to FAN0_PIN."
|
||||
#elif PIN_EXISTS(E1_AUTO_FAN) && E1_AUTO_FAN_PIN == FAN0_PIN
|
||||
#error "You cannot set E1_AUTO_FAN_PIN equal to FAN0_PIN."
|
||||
#elif PIN_EXISTS(E2_AUTO_FAN) && E2_AUTO_FAN_PIN == FAN0_PIN
|
||||
#error "You cannot set E2_AUTO_FAN_PIN equal to FAN0_PIN."
|
||||
#elif PIN_EXISTS(E3_AUTO_FAN) && E3_AUTO_FAN_PIN == FAN0_PIN
|
||||
#error "You cannot set E3_AUTO_FAN_PIN equal to FAN0_PIN."
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if HAS_FAN0
|
||||
#if CONTROLLER_FAN_PIN == FAN_PIN
|
||||
#error "You cannot set CONTROLLER_FAN_PIN equal to FAN_PIN."
|
||||
#if CONTROLLER_FAN_PIN == FAN0_PIN
|
||||
#error "You cannot set CONTROLLER_FAN_PIN equal to FAN0_PIN."
|
||||
#elif ENABLED(FAN_SOFT_PWM_REQUIRED) && DISABLED(FAN_SOFT_PWM)
|
||||
#error "FAN_SOFT_PWM is required for your board. Enable it to continue."
|
||||
#endif
|
||||
@ -2342,8 +2342,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE, "Movement bounds (X_MIN_POS, X_MAX_POS
|
||||
#if NEED_CASE_LIGHT_PIN
|
||||
#if !PIN_EXISTS(CASE_LIGHT)
|
||||
#error "CASE_LIGHT_ENABLE requires CASE_LIGHT_PIN, CASE_LIGHT_USE_NEOPIXEL, or CASE_LIGHT_USE_RGB_LED."
|
||||
#elif CASE_LIGHT_PIN == FAN_PIN
|
||||
#error "CASE_LIGHT_PIN conflicts with FAN_PIN. Resolve before continuing."
|
||||
#elif CASE_LIGHT_PIN == FAN0_PIN
|
||||
#error "CASE_LIGHT_PIN conflicts with FAN0_PIN. Resolve before continuing."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -4100,8 +4100,8 @@ static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive.");
|
||||
#error "SPINDLE_LASER_PWM_PIN conflicts with E6_AUTO_FAN_PIN."
|
||||
#elif _PIN_CONFLICT(E7_AUTO_FAN)
|
||||
#error "SPINDLE_LASER_PWM_PIN conflicts with E7_AUTO_FAN_PIN."
|
||||
#elif _PIN_CONFLICT(FAN)
|
||||
#error "SPINDLE_LASER_PWM_PIN conflicts with FAN_PIN."
|
||||
#elif _PIN_CONFLICT(FAN0)
|
||||
#error "SPINDLE_LASER_PWM_PIN conflicts with FAN0_PIN."
|
||||
#elif _PIN_CONFLICT(FAN1)
|
||||
#error "SPINDLE_LASER_PWM_PIN conflicts with FAN1_PIN."
|
||||
#elif _PIN_CONFLICT(FAN2)
|
||||
|
@ -2642,7 +2642,7 @@ void Temperature::init() {
|
||||
#endif
|
||||
|
||||
#if HAS_FAN0
|
||||
INIT_FAN_PIN(FAN_PIN);
|
||||
INIT_FAN_PIN(FAN0_PIN);
|
||||
#endif
|
||||
#if HAS_FAN1
|
||||
INIT_FAN_PIN(FAN1_PIN);
|
||||
|
@ -90,7 +90,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 2
|
||||
#define FAN_PIN 0
|
||||
#define FAN0_PIN 0
|
||||
#define HEATER_BED_PIN 15
|
||||
|
||||
//
|
||||
|
@ -101,7 +101,7 @@
|
||||
|
||||
// General use mosfets, useful for things like pumps and solenoids
|
||||
// Shift register pins 128, 129, 130 and 131 are broken out and can be used
|
||||
#define FAN_PIN 132
|
||||
#define FAN0_PIN 132
|
||||
#define FAN1_PIN 134
|
||||
#define FAN2_PIN 135
|
||||
#define FAN3_PIN 136
|
||||
|
@ -79,7 +79,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 2
|
||||
#define FAN_PIN 13
|
||||
#define FAN0_PIN 13
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
// SPI
|
||||
|
@ -68,7 +68,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 2
|
||||
#define FAN_PIN 13
|
||||
#define FAN0_PIN 13
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
//
|
||||
|
@ -104,7 +104,7 @@
|
||||
//
|
||||
#define HEATER_0_PIN 145
|
||||
#define HEATER_1_PIN 146
|
||||
#define FAN_PIN 147
|
||||
#define FAN0_PIN 147
|
||||
#define FAN1_PIN 148
|
||||
#define HEATER_BED_PIN 144
|
||||
|
||||
|
@ -102,7 +102,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 145 // 2
|
||||
#define FAN_PIN 146 // 15
|
||||
#define FAN0_PIN 146 // 15
|
||||
#define HEATER_BED_PIN 144 // 4
|
||||
|
||||
#define CONTROLLER_FAN_PIN 147
|
||||
|
@ -74,7 +74,7 @@
|
||||
//
|
||||
#define HEATER_0_PIN 108
|
||||
#define HEATER_BED_PIN 109
|
||||
#define FAN_PIN 118 // FAN0
|
||||
#define FAN0_PIN 118 // FAN0
|
||||
#define FAN1_PIN 119 // FAN1
|
||||
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
|
@ -161,21 +161,21 @@
|
||||
#define HEATER_0_PIN MOSFET_A_PIN
|
||||
|
||||
#if FET_ORDER_EFB // Hotend, Fan, Bed
|
||||
#define FAN_PIN MOSFET_B_PIN
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEF // Hotend, Hotend, Fan
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#define FAN_PIN MOSFET_C_PIN
|
||||
#define FAN0_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEB // Hotend, Hotend, Bed
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EFF // Hotend, Fan, Fan
|
||||
#define FAN_PIN MOSFET_B_PIN
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#define FAN1_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_SF // Spindle, Fan
|
||||
#define FAN_PIN MOSFET_C_PIN
|
||||
#define FAN0_PIN MOSFET_C_PIN
|
||||
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
|
||||
#define FAN_PIN MOSFET_B_PIN
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#if HOTENDS == 1 && DISABLED(HEATERS_PARALLEL)
|
||||
#define FAN1_PIN MOSFET_D_PIN
|
||||
@ -184,8 +184,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 4 // IO pin. Buffer needed
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 4 // IO pin. Buffer needed
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -82,8 +82,8 @@
|
||||
// EFB
|
||||
#define HEATER_0_PIN P2_04
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_07
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_07
|
||||
#endif
|
||||
#define FAN1_PIN P0_26
|
||||
|
||||
|
@ -99,8 +99,8 @@
|
||||
//
|
||||
#define HEATER_0_PIN P2_07
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_04
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_04
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -170,7 +170,7 @@
|
||||
* PWM1.4 P1_23 <none>
|
||||
* PWM1.4 P2_3 E0_STEP_PIN
|
||||
* PWM1.5 P1_24 X_MIN_PIN
|
||||
* PWM1.5 P2_4 FAN_PIN
|
||||
* PWM1.5 P2_4 FAN0_PIN
|
||||
* PWM1.6 P1_26 Y_MIN_PIN
|
||||
* PWM1.6 P2_5 HEATER_BED_PIN
|
||||
*/
|
||||
|
@ -74,8 +74,8 @@
|
||||
//
|
||||
#define HEATER_0_PIN P2_07
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_04
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_04
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -147,7 +147,7 @@
|
||||
* PWM1.4 P1_23 <none>
|
||||
* PWM1.4 P2_3 E0_STEP_PIN
|
||||
* PWM1.5 P1_24 X_MIN_PIN
|
||||
* PWM1.5 P2_4 FAN_PIN
|
||||
* PWM1.5 P2_4 FAN0_PIN
|
||||
* PWM1.6 P1_26 Y_MIN_PIN
|
||||
* PWM1.6 P2_5 HEATER_BED_PIN
|
||||
*/
|
||||
|
@ -101,8 +101,8 @@
|
||||
#define HEATER_1_PIN P2_04
|
||||
#endif
|
||||
#endif
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_03
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_03
|
||||
#endif
|
||||
#ifndef HEATER_BED_PIN
|
||||
#define HEATER_BED_PIN P2_05
|
||||
|
@ -87,7 +87,7 @@
|
||||
#define HEATER_0_PIN P2_06 // (H2: 10A shared)
|
||||
#define HEATER_1_PIN P2_07 // (H3: 10A shared)
|
||||
|
||||
#define FAN_PIN P2_11 // (FAN0: 1A)
|
||||
#define FAN0_PIN P2_11 // (FAN0: 1A)
|
||||
#define FAN1_PIN P2_13 // (FAN1: 1A)
|
||||
|
||||
//
|
||||
|
@ -123,7 +123,7 @@
|
||||
//
|
||||
#define HEATER_BED_PIN P1_19 // Not a PWM pin, software PWM required
|
||||
#define HEATER_0_PIN P3_26 // PWM1[3]
|
||||
#define FAN_PIN P3_25 // Part cooling fan - connected to PWM1[2]
|
||||
#define FAN0_PIN P3_25 // Part cooling fan - connected to PWM1[2]
|
||||
#define E0_AUTO_FAN_PIN P0_27 // Extruder cooling fan
|
||||
|
||||
//
|
||||
|
@ -101,8 +101,8 @@
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07
|
||||
#define HEATER_1_PIN P2_06
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_04
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_04
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -211,8 +211,8 @@
|
||||
#define HEATER_1_PIN P2_06
|
||||
#endif
|
||||
#endif
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_04
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_04
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -206,15 +206,15 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#ifndef FAN0_PIN
|
||||
#if ANY(FET_ORDER_EFB, FET_ORDER_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan
|
||||
#define FAN_PIN MOSFET_B_PIN
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#elif ANY(FET_ORDER_EEF, FET_ORDER_SF) // Hotend, Hotend, Fan or Spindle, Fan
|
||||
#define FAN_PIN MOSFET_C_PIN
|
||||
#define FAN0_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEB // Hotend, Hotend, Bed
|
||||
#define FAN_PIN P1_18 // (4) IO pin. Buffer needed
|
||||
#define FAN0_PIN P1_18 // (4) IO pin. Buffer needed
|
||||
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
|
||||
#define FAN_PIN MOSFET_B_PIN
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -87,8 +87,8 @@
|
||||
#define HEATER_BED2_PIN P2_04
|
||||
#define HEATER_0_PIN P2_07
|
||||
#define HEATER_1_PIN P2_06
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P1_24
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P1_24
|
||||
#endif
|
||||
#define FAN1_PIN P1_26
|
||||
|
||||
|
@ -100,8 +100,8 @@
|
||||
#define HEATER_BED_PIN P2_07
|
||||
#define HEATER_0_PIN P2_04
|
||||
#define HEATER_1_PIN P2_05
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P0_26
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P0_26
|
||||
#endif
|
||||
#define FAN1_PIN P1_22
|
||||
|
||||
|
@ -104,8 +104,8 @@
|
||||
//
|
||||
#define HEATER_BED_PIN P2_07
|
||||
#define HEATER_0_PIN P2_05
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P0_26
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P0_26
|
||||
#endif
|
||||
#define FAN1_PIN P1_25
|
||||
|
||||
|
@ -179,7 +179,7 @@
|
||||
#define HEATER_0_PIN P2_03 // EXTRUDER 0
|
||||
#define HEATER_1_PIN P2_04 // EXTRUDER 1
|
||||
#define HEATER_BED_PIN P2_05 // BED
|
||||
#define FAN_PIN P2_01
|
||||
#define FAN0_PIN P2_01
|
||||
#define FAN1_PIN P2_02
|
||||
|
||||
#ifndef CONTROLLER_FAN_PIN
|
||||
|
@ -96,8 +96,8 @@
|
||||
//
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07 // FET 1
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_06 // FET 3
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_06 // FET 3
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -127,7 +127,7 @@
|
||||
#define SPINDLE_LASER_ENA_PIN P2_07 // FET 1
|
||||
#undef HEATER_BED_PIN
|
||||
#define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET
|
||||
#undef FAN_PIN
|
||||
#undef FAN0_PIN
|
||||
#define SPINDLE_DIR_PIN P2_06 // FET 3
|
||||
#endif
|
||||
|
||||
|
@ -121,8 +121,8 @@
|
||||
#define HEATER_0_PIN P2_07 // FET 1
|
||||
#define HEATER_1_PIN P1_23 // FET 2
|
||||
#define HEATER_2_PIN P1_22 // FET 3
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_06 // FET 4
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_06 // FET 4
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -154,7 +154,7 @@
|
||||
#if HAS_CUTTER
|
||||
#undef HEATER_0_PIN
|
||||
#undef HEATER_BED_PIN
|
||||
#undef FAN_PIN
|
||||
#undef FAN0_PIN
|
||||
#define SPINDLE_LASER_ENA_PIN P2_07 // FET 1
|
||||
#define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET
|
||||
#define SPINDLE_DIR_PIN P2_06 // FET 4
|
||||
|
@ -146,8 +146,8 @@
|
||||
#define HEATER_0_PIN P3_25
|
||||
#define HEATER_1_PIN P1_20
|
||||
#define HEATER_2_PIN P1_23
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P1_18
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P1_18
|
||||
#endif
|
||||
#define FAN1_PIN P1_21
|
||||
#define FAN2_PIN P1_24
|
||||
|
@ -231,8 +231,8 @@
|
||||
#define FAN2_PIN P2_06 // HE1 for FAN3
|
||||
#endif
|
||||
#endif
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_04 // FAN1
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_04 // FAN1
|
||||
#endif
|
||||
#ifndef FAN1_PIN
|
||||
#define FAN1_PIN P1_04 // FAN2
|
||||
|
@ -85,8 +85,8 @@
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07
|
||||
#define HEATER_1_PIN P1_23
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_06
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_06
|
||||
#endif
|
||||
#define FAN1_PIN P2_04
|
||||
|
||||
|
@ -119,8 +119,8 @@
|
||||
//
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_06
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN P2_06
|
||||
#endif
|
||||
#define FAN1_PIN P1_22
|
||||
|
||||
|
@ -86,8 +86,8 @@
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_2_PIN 8
|
||||
#define HEATER_BED_PIN 9
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 3
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 3
|
||||
#endif
|
||||
#define FAN2_PIN 58 // additional fan or light control output
|
||||
|
||||
|
@ -93,8 +93,8 @@
|
||||
#define HEATER_3_PIN 46
|
||||
#define HEATER_BED_PIN 2
|
||||
|
||||
#ifndef FAN_PIN
|
||||
//#define FAN_PIN 7 // common PWM pin for all tools
|
||||
#ifndef FAN0_PIN
|
||||
//#define FAN0_PIN 7 // common PWM pin for all tools
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -93,8 +93,8 @@
|
||||
#define HEATER_3_PIN 3
|
||||
#define HEATER_BED_PIN 24
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 5 // 5 is PWMtool3 -> 7 is common PWM pin for all tools
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 5 // 5 is PWMtool3 -> 7 is common PWM pin for all tools
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -87,7 +87,7 @@
|
||||
//
|
||||
// Fans
|
||||
//
|
||||
#define FAN_PIN 8
|
||||
#define FAN0_PIN 8
|
||||
|
||||
//
|
||||
// Auto fans
|
||||
|
@ -70,7 +70,7 @@
|
||||
#define HEATER_0_PIN 83
|
||||
#define HEATER_BED_PIN 38
|
||||
|
||||
#define FAN_PIN 82
|
||||
#define FAN0_PIN 82
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -92,8 +92,8 @@
|
||||
#define HEATER_2_PIN 17 // 12V PWM3
|
||||
#define HEATER_BED_PIN 44 // DOUBLE 12V PWM
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 16 // 5V PWM
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 16 // 5V PWM
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -95,8 +95,8 @@
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 7
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -138,7 +138,7 @@
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_2_PIN 2
|
||||
#define HEATER_BED_PIN 4
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
#define FAN1_PIN 8
|
||||
#define FAN2_PIN 7
|
||||
|
||||
|
@ -92,8 +92,8 @@
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7 //默认不使用PWM_FAN冷却喷嘴,如果需要,则取消注释
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 7 //默认不使用PWM_FAN冷却喷嘴,如果需要,则取消注释
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -99,7 +99,7 @@
|
||||
#define HEATER_0_PIN 2 // PWM
|
||||
#define HEATER_BED_PIN 4 // PWM
|
||||
#define HEATER_CHAMBER_PIN 3 // PWM
|
||||
#define FAN_PIN 7 // PWM
|
||||
#define FAN0_PIN 7 // PWM
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -79,7 +79,7 @@
|
||||
#define HEATER_2_PIN 11 // 13
|
||||
#define HEATER_BED_PIN 10 // 14/15
|
||||
|
||||
#define FAN_PIN 7
|
||||
#define FAN0_PIN 7
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -104,7 +104,7 @@
|
||||
#define HEATER_1_PIN 9 // Misc Connector, pins 5 and 6 (Out3)
|
||||
#define HEATER_BED_PIN 6 // Misc Connector, pins 9(-) and 10(+) (OutA)
|
||||
|
||||
#define FAN_PIN 10 // Misc Connector, pins 7(-) and 8 (+) (Out4)
|
||||
#define FAN0_PIN 10 // Misc Connector, pins 7(-) and 8 (+) (Out4)
|
||||
|
||||
#define LED_PIN 13
|
||||
|
||||
|
@ -93,8 +93,8 @@
|
||||
#define HEATER_1_PIN 11
|
||||
#define HEATER_BED_PIN 45
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7 // M106 Sxxx command supported and tested. M107 as well.
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 7 // M106 Sxxx command supported and tested. M107 as well.
|
||||
#endif
|
||||
|
||||
#ifndef FAN_PIN1
|
||||
|
@ -114,8 +114,8 @@
|
||||
#define HEATER_1_PIN 34
|
||||
#define HEATER_BED_PIN 28
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 39
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 39
|
||||
#endif
|
||||
#define FAN1_PIN 35
|
||||
#define FAN2_PIN 36
|
||||
|
@ -89,8 +89,8 @@
|
||||
#define HEATER_1_PIN 8
|
||||
#define HEATER_BED_PIN 10
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7 // IO pin. Buffer needed
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 7 // IO pin. Buffer needed
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -103,8 +103,8 @@
|
||||
#define HEATER_1_PIN 8
|
||||
#define HEATER_BED_PIN 10
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 7
|
||||
#endif
|
||||
#define FAN1_PIN 6
|
||||
|
||||
|
@ -127,8 +127,8 @@
|
||||
#define HEATER_2_PIN 8
|
||||
#define HEATER_BED_PIN 10
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 6
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 6
|
||||
#endif
|
||||
#define FAN1_PIN 7
|
||||
|
||||
|
@ -168,8 +168,8 @@
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
#define E0_AUTO_FAN_PIN MOSFET_2_PIN
|
||||
#else
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN MOSFET_2_PIN
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN MOSFET_2_PIN
|
||||
#endif
|
||||
#endif
|
||||
// EX2 FAN (Automatic Fans are disabled by default in Configuration_adv.h - comment that out for auto fans)
|
||||
|
@ -90,8 +90,8 @@
|
||||
#define HEATER_1_PIN 8 // EXTRUDER 2
|
||||
#define HEATER_BED_PIN 3 // BED
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 9
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 9
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -95,7 +95,7 @@
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#define FAN_PIN 7 // material cooling fan
|
||||
#define FAN0_PIN 7 // material cooling fan
|
||||
|
||||
//
|
||||
// SD Card
|
||||
|
@ -108,8 +108,8 @@
|
||||
#endif
|
||||
#define HEATER_BED_PIN 8 // HEAT-BED
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 9
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 9
|
||||
#endif
|
||||
#ifndef FAN_2_PIN
|
||||
#define FAN_2_PIN 7
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
#define HEATER_0_PIN 9 // E0
|
||||
#define HEATER_1_PIN 10 // E1
|
||||
#define FAN_PIN 11
|
||||
#define FAN0_PIN 11
|
||||
#define FAN2_PIN 12
|
||||
|
||||
#include "pins_PICA.h"
|
||||
|
@ -57,8 +57,8 @@
|
||||
#define FIL_RUNOUT_PIN 34 // X_MAX unless overridden
|
||||
#endif
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 5
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 5
|
||||
#endif
|
||||
|
||||
#define HEATER_0_PIN 7
|
||||
|
@ -76,7 +76,7 @@
|
||||
//
|
||||
#define HEATER_0_PIN 4
|
||||
#define HEATER_BED_PIN 44
|
||||
#define FAN_PIN 12 // IO pin. Buffer needed
|
||||
#define FAN0_PIN 12 // IO pin. Buffer needed
|
||||
|
||||
//
|
||||
// SD Card
|
||||
|
@ -74,7 +74,7 @@
|
||||
//
|
||||
#define HEATER_0_PIN 10 // EXTRUDER 1
|
||||
#define HEATER_BED_PIN 8 // BED
|
||||
#define FAN_PIN 4 // IO pin. Buffer needed
|
||||
#define FAN0_PIN 4 // IO pin. Buffer needed
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -730,8 +730,8 @@
|
||||
//
|
||||
// Fans
|
||||
//
|
||||
#if PIN_EXISTS(FAN)
|
||||
REPORT_NAME_DIGITAL(__LINE__, FAN_PIN)
|
||||
#if PIN_EXISTS(FAN0)
|
||||
REPORT_NAME_DIGITAL(__LINE__, FAN0_PIN)
|
||||
#endif
|
||||
#if PIN_EXISTS(FAN1)
|
||||
REPORT_NAME_DIGITAL(__LINE__, FAN1_PIN)
|
||||
|
@ -377,10 +377,9 @@
|
||||
#undef W_SERIAL_RX_PIN
|
||||
#endif
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN -1
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN -1
|
||||
#endif
|
||||
#define FAN0_PIN FAN_PIN
|
||||
#ifndef FAN1_PIN
|
||||
#define FAN1_PIN -1
|
||||
#endif
|
||||
|
@ -128,11 +128,11 @@
|
||||
#define HEATER_0_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#ifndef FAN0_PIN
|
||||
#ifdef MK3_FAN_PINS
|
||||
#define FAN_PIN 6
|
||||
#define FAN0_PIN 6
|
||||
#else
|
||||
#define FAN_PIN 8
|
||||
#define FAN0_PIN 8
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -135,8 +135,8 @@
|
||||
#define HEATER_0_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 8
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 8
|
||||
#endif
|
||||
#define FAN1_PIN 6
|
||||
|
||||
|
@ -109,8 +109,8 @@
|
||||
#endif
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 8
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 8
|
||||
#endif
|
||||
#define FAN1_PIN 6
|
||||
|
||||
|
@ -140,8 +140,8 @@
|
||||
#define HEATER_2_PIN 6
|
||||
#define HEATER_BED_PIN 3
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 8
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 8
|
||||
#endif
|
||||
#ifndef FAN1_PIN
|
||||
#define FAN1_PIN 6
|
||||
|
@ -105,8 +105,8 @@
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 3
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 8
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 8
|
||||
#endif
|
||||
#define FAN1_PIN 6
|
||||
#define FAN2_PIN 2
|
||||
|
@ -56,8 +56,8 @@
|
||||
#define Y_STOP_PIN 14
|
||||
#define Z_STOP_PIN 18
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 6
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 6
|
||||
#endif
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
||||
|
@ -72,7 +72,7 @@
|
||||
#define HEATER_0_PIN 4 // PG5 / PWM4
|
||||
#define HEATER_BED_PIN 3 // PE5 / PWM3
|
||||
|
||||
#define FAN_PIN 5 // PE3 / PWM5
|
||||
#define FAN0_PIN 5 // PE3 / PWM5
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -129,8 +129,8 @@
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 9
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 9
|
||||
#endif
|
||||
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define BOARD_INFO_NAME "Formbot Raptor2"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
#define FAN_PIN 6
|
||||
#define FAN0_PIN 6
|
||||
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 22
|
||||
|
@ -126,7 +126,7 @@
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 58
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
|
||||
#if HAS_FILAMENT_SENSOR
|
||||
#define FIL_RUNOUT_PIN 4
|
||||
|
@ -132,7 +132,7 @@
|
||||
#define HEATER_1_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
#define FAN1_PIN 12
|
||||
|
||||
#define FIL_RUNOUT_PIN 22
|
||||
|
@ -185,7 +185,7 @@
|
||||
#define HEATER_2_PIN 7
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 44
|
||||
#define FAN0_PIN 44
|
||||
#define FAN1_PIN 45
|
||||
#define FAN2_PIN 46
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_BED_PIN -1
|
||||
#define FAN_PIN 8
|
||||
#define FAN0_PIN 8
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -74,7 +74,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 10
|
||||
#define FAN_PIN 8
|
||||
#define FAN0_PIN 8
|
||||
#define CONTROLLER_FAN_PIN 9
|
||||
|
||||
//
|
||||
|
@ -36,7 +36,7 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define FAN_PIN 9 // PH6 ** Pin18 ** PWM9
|
||||
#define FAN0_PIN 9 // PH6 ** Pin18 ** PWM9
|
||||
|
||||
// Other Mods
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
// Power outputs EFBF or EFBE
|
||||
//
|
||||
#define MOSFET_B_PIN 7
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
|
||||
//
|
||||
// PSU / SERVO
|
||||
|
@ -43,7 +43,7 @@
|
||||
// Hotend, Hotend, Bed + Fan on D9
|
||||
#if FET_ORDER_EEB
|
||||
#define MOSFET_B_PIN 7
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -257,15 +257,15 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#ifndef FAN0_PIN
|
||||
#if ANY(FET_ORDER_EFB, FET_ORDER_EFF) // Hotend, Fan, Bed or Hotend, Fan, Fan
|
||||
#define FAN_PIN MOSFET_B_PIN
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#elif ANY(FET_ORDER_EEF, FET_ORDER_SF) // Hotend, Hotend, Fan or Spindle, Fan
|
||||
#define FAN_PIN MOSFET_C_PIN
|
||||
#define FAN0_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEB // Hotend, Hotend, Bed
|
||||
#define FAN_PIN 4 // IO pin. Buffer needed
|
||||
#define FAN0_PIN 4 // IO pin. Buffer needed
|
||||
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
|
||||
#define FAN_PIN MOSFET_B_PIN
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define MOSFET_B_PIN 7 // For HEATER_1_PIN ("EEF" or "EEB")
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
|
||||
#define FIL_RUNOUT_PIN 2
|
||||
#if NUM_RUNOUT_SENSORS >= 2
|
||||
|
@ -36,7 +36,7 @@
|
||||
// band (case light). Thus the hotend and controller fans are always-on.
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE)
|
||||
#undef FAN_PIN
|
||||
#undef FAN0_PIN
|
||||
#ifndef CASE_LIGHT_PIN
|
||||
#define CASE_LIGHT_PIN MOSFET_B_PIN
|
||||
#endif
|
||||
|
@ -88,14 +88,14 @@
|
||||
#if ENABLED(RAMPS_V_1_0)
|
||||
#define HEATER_0_PIN 12
|
||||
#define HEATER_BED_PIN -1
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 11
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 11
|
||||
#endif
|
||||
#else // RAMPS_V_1_1 or RAMPS_V_1_2
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_BED_PIN 8
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 9
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 9
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -172,12 +172,12 @@
|
||||
|
||||
#if MB(RAMPS_S_12_EEFB) // Hotend0, Hotend1, Fan, Bed
|
||||
#define HEATER_1_PIN RAMPS_S_HE_1
|
||||
#define FAN_PIN RAMPS_S_HE_2
|
||||
#define FAN0_PIN RAMPS_S_HE_2
|
||||
#elif MB(RAMPS_S_12_EEEB) // Hotend0, Hotend1, Hotend2, Bed
|
||||
#define HEATER_1_PIN RAMPS_S_HE_1
|
||||
#define HEATER_2_PIN RAMPS_S_HE_2
|
||||
#elif MB(RAMPS_S_12_EFFB) // Hotend, Fan0, Fan1, Bed
|
||||
#define FAN_PIN RAMPS_S_HE_1
|
||||
#define FAN0_PIN RAMPS_S_HE_1
|
||||
#define FAN1_PIN RAMPS_S_HE_2
|
||||
#endif
|
||||
|
||||
|
@ -84,8 +84,8 @@
|
||||
#undef HEATER_BED_PIN
|
||||
#define HEATER_BED_PIN 10
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 8 // Same as RAMPS_13_EEF
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 8 // Same as RAMPS_13_EEF
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -159,8 +159,8 @@
|
||||
#define HEATER_3_PIN 8
|
||||
#define HEATER_BED_PIN 9
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 7
|
||||
#endif
|
||||
#ifndef FAN1_PIN
|
||||
#define FAN1_PIN 8
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#define BOARD_INFO_NAME "Tango"
|
||||
|
||||
#define FAN_PIN 8
|
||||
#define FAN0_PIN 8
|
||||
#define FAN1_PIN -1
|
||||
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
|
@ -138,7 +138,7 @@
|
||||
#define HEATER_1_PIN 11
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
#define FAN1_PIN 5 // Normally this would be a servo pin
|
||||
|
||||
// XXX Runout support unknown?
|
||||
|
@ -95,7 +95,7 @@
|
||||
#define HEATER_1_PIN 10
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
#define FAN2_PIN 5 // Normally this would be a servo pin
|
||||
|
||||
//#define NUM_RUNOUT_SENSORS 0
|
||||
|
@ -46,7 +46,7 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define FAN_PIN 9 // FAN0
|
||||
#define FAN0_PIN 9 // FAN0
|
||||
#define FAN1_PIN 7 // FAN1
|
||||
#define FAN2_PIN 44 // FAN2
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
|
@ -194,7 +194,7 @@
|
||||
#define HEATER_2_PIN 44
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
|
||||
#if EXTRUDERS >= 5
|
||||
#define HEATER_4_PIN 6
|
||||
|
@ -112,8 +112,8 @@
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 7
|
||||
#endif
|
||||
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
|
@ -99,8 +99,8 @@
|
||||
#define HEATER_1_PIN 3
|
||||
#define HEATER_BED_PIN 4
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 7
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 7
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -36,8 +36,8 @@
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#undef FAN_PIN
|
||||
#define FAN_PIN 5 // Using the pin for the controller fan since controller fan is always on.
|
||||
#undef FAN0_PIN
|
||||
#define FAN0_PIN 5 // Using the pin for the controller fan since controller fan is always on.
|
||||
#define CONTROLLER_FAN_PIN 8
|
||||
|
||||
//
|
||||
|
@ -40,7 +40,7 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_1_PIN 7
|
||||
#define FAN_PIN 9 // PH6 ** Pin18 ** PWM9
|
||||
#define FAN0_PIN 9 // PH6 ** Pin18 ** PWM9
|
||||
#define FAN1_PIN 6
|
||||
|
||||
//
|
||||
|
@ -164,7 +164,7 @@
|
||||
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 7
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
#define HEATER_BED_PIN 8
|
||||
#define FAN1_PIN 6
|
||||
|
||||
|
@ -136,7 +136,7 @@
|
||||
#define HEATER_3_PIN 5
|
||||
#define HEATER_BED_PIN 8
|
||||
|
||||
#define FAN_PIN 9
|
||||
#define FAN0_PIN 9
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
|
@ -116,7 +116,7 @@ A stepper for E0 extruder
|
||||
//
|
||||
#define HEATER_0_PIN 55 // "Hold": Analog pin 1, Digital pin 55
|
||||
#define HEATER_BED_PIN 57 // "CoolEn": Analog pin 3, Digital pin 57
|
||||
#define FAN_PIN 54 // "Abort": Analog pin 0, Digital pin 54
|
||||
#define FAN0_PIN 54 // "Abort": Analog pin 0, Digital pin 54
|
||||
#undef E0_AUTO_FAN_PIN
|
||||
#define E0_AUTO_FAN_PIN 56 // "Resume": Analog pin 2, Digital pin 56
|
||||
|
||||
|
@ -113,8 +113,8 @@
|
||||
#define HEATER_3_PIN 97 // PC20 on piggy
|
||||
#define HEATER_BED_PIN 69 // PA0
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 92 // PA5
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 92 // PA5
|
||||
#endif
|
||||
#define FAN1_PIN 31 // PA7
|
||||
|
||||
|
@ -153,8 +153,8 @@
|
||||
#define HEATER_2_PIN 8 // D8 PC22 FET_PWM5
|
||||
#define HEATER_BED_PIN 9 // D9 PC21 BED_PWM
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 4 // D4 PC26 FET_PWM1
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 4 // D4 PC26 FET_PWM1
|
||||
#endif
|
||||
#define FAN1_PIN 5 // D5 PC25 FET_PWM2
|
||||
|
||||
|
@ -176,8 +176,8 @@
|
||||
#define HEATER_2_PIN 8 // D8 PC22 FET_PWM5
|
||||
#define HEATER_BED_PIN 9 // D9 PC21 BED_PWM
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN 4 // D4 PC26 FET_PWM1
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 4 // D4 PC26 FET_PWM1
|
||||
#endif
|
||||
#define FAN1_PIN 5 // D5 PC25 FET_PWM2
|
||||
|
||||
|
@ -91,7 +91,7 @@
|
||||
//
|
||||
// Fans
|
||||
//
|
||||
//#define FAN_PIN 8
|
||||
//#define FAN0_PIN 8
|
||||
|
||||
//
|
||||
// Auto fans
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user