From 1e27eaa3323cfd378eea7fe71a89a45804d1d696 Mon Sep 17 00:00:00 2001 From: X-Dron Date: Fri, 25 Sep 2020 09:27:59 +0300 Subject: [PATCH] AutoFan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Фикс AutoFan, датчик температуры в корпусе, фикс русских коментариев --- .../src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h b/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h index a4d1dcb13a..518c140092 100644 --- a/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h +++ b/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h @@ -42,8 +42,8 @@ #define DISABLE_DEBUG /* - - En +Управление подсветкой платой в разъеме второго экструдера +Управление ногой En https://easyeda.com/sst78rust/fb4s-led-control */ #define CASE_LED_INSTEAD_E1 @@ -185,14 +185,27 @@ https://easyeda.com/sst78rust/fb4s-led-control #define TEMP_0_PIN PC1 // TH1 #define TEMP_1_PIN PC2 // TH2 #define TEMP_BED_PIN PC0 // TB1 +//Дополнительный термистор на корпусе +#if TEMP_SENSOR_CHAMBER > 0 + #define TEMP_CHAMBER_PIN PC2 +#endif // // Heaters / Fans // #define HEATER_0_PIN PC3 // HEATER1 -#define HEATER_1_PIN PB0 // HEATER2 #define HEATER_BED_PIN PA0 // HOT BED +#if HOTENDS == 1 + #ifndef FAN1_PIN + #define FAN1_PIN PB0 + #endif +#else + #ifndef HEATER_1_PIN + #define HEATER_1_PIN PB0 + #endif +#endif + #define FAN_PIN PB1 // FAN // @@ -402,7 +415,7 @@ https://easyeda.com/sst78rust/fb4s-led-control #endif /* - MKS WIFI +Модуль MKS WIFI */ #define MKS_WIFI #ifdef MKS_WIFI