Browse Source

Merge pull request #38 from X-Dron/PR1

Update pins_MKS_ROBIN_NANO_V2.h
pull/45/head
Sergey1560 4 years ago
committed by GitHub
parent
commit
03d1b99331
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 51
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h

51
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO_V2.h

@ -45,6 +45,13 @@
//
#define DISABLE_DEBUG
/*
Управление подсветкой платой в разъеме второго экструдера
Управление ногой En
https://easyeda.com/sst78rust/fb4s-led-control
*/
//#define CASE_LED_INSTEAD_E1
//
// EEPROM
//
@ -59,12 +66,8 @@
//
// Note: MKS Robin board is using SPI2 interface.
//
#define SPI_DEVICE 2
//
// Servos
//
#define SERVO0_PIN PA8 // Enable BLTOUCH
//#define SPI_MODULE 2
#define ENABLE_SPI2
//
// Limit Switches
@ -111,9 +114,14 @@
#define E0_CS_PIN PD9
#endif
#ifdef CASE_LED_INSTEAD_E1
#define LED_CASE_PIN PA3
#else
#define E1_ENABLE_PIN PA3
#define E1_STEP_PIN PD15
#define E1_DIR_PIN PA1
#endif
#ifndef E1_CS_PIN
#define E1_CS_PIN PD8
#endif
@ -175,16 +183,37 @@
#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
/*
Управление питанием
*/
//#define SUICIDE_PIN PB2
//#define SUICIDE_PIN_INVERTING false
#define KILL_PIN PA2 // Enable MKSPWC DET PIN
#define KILL_PIN_STATE true // Enable MKSPWC PIN STATE
//
// Thermocouples
//
@ -222,6 +251,8 @@
#define FIL_RUNOUT2_PIN PE6
#endif
#define SERVO0_PIN PA8 // Enable BLTOUCH
//#define LED_PIN PB2
//
@ -287,7 +318,7 @@
#define BTN_EN1 PE8
#define BTN_EN2 PE11
#elif ENABLED(TFT_COLOR_UI)
#define TFT_BUFFER_SIZE 4400
#define TFT_BUFFER_SIZE 320*12
#endif
#if HAS_WIRED_LCD && !HAS_SPI_TFT
@ -375,7 +406,7 @@
#define MKS_WIFI_BAUDRATE 115200
#undef PLATFORM_M997_SUPPORT
#define MKS_WIFI_IO0 PA8
#define MKS_WIFI_IO0 PC13
#define MKS_WIFI_IO4 PC7
#define MKS_WIFI_IO_RST PA5
#define MKS_WIFI_IO_RST PE9
#endif

Loading…
Cancel
Save