Skip to content

Commit

Permalink
pinsformat
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 11, 2022
1 parent ce3b627 commit 62d8eb3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 25 deletions.
9 changes: 6 additions & 3 deletions Marlin/src/pins/stm32f4/pins_MKS_MONSTER8_V1.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@

#define BOARD_INFO_NAME "MKS Monster8 V1"

// Limit Switches for endstops
//
// Limit Switches
//
#define X_MAX_PIN PA13
#define Y_MAX_PIN PC5

//
// Steppers
//Driver7
#define E4_ENABLE_PIN PD14
//
#define E4_ENABLE_PIN PD14 // Driver7

//
// Misc. Functions
Expand Down
7 changes: 5 additions & 2 deletions Marlin/src/pins/stm32f4/pins_MKS_MONSTER8_V2.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@

#define BOARD_INFO_NAME "MKS Monster8 V2"

//
// Steppers
//Driver7
#define E4_ENABLE_PIN PB6
//
#define E4_ENABLE_PIN PB6 // Driver7

//
// Misc. Functions
Expand All @@ -41,7 +42,9 @@
#define FIL_RUNOUT2_PIN MT_DET_2_PIN
#endif

//
// MKS WIFI MODULE
//
//#define WIFI_SERIAL 1// USART1
#if ENABLED(MKS_WIFI_MODULE)
#define WIFI_IO0_PIN PB14 // MKS ESP WIFI IO0 PIN
Expand Down
37 changes: 17 additions & 20 deletions Marlin/src/pins/stm32f4/pins_MKS_MONSTER8_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,60 +71,57 @@

//
// Steppers
// Driver 0 1 2 3 4 5 6 7
// For X Y Z E0 E1 E2 E3 E4(default pin settings)
//
//Driver0
#define X_ENABLE_PIN PC15
#define X_ENABLE_PIN PC15 // Driver0
#define X_STEP_PIN PC14
#define X_DIR_PIN PC13
#ifndef X_CS_PIN
#define X_CS_PIN PE6
#endif
//Driver1
#define Y_ENABLE_PIN PC15

#define Y_ENABLE_PIN PC15 // Driver1
#define Y_STEP_PIN PE5
#define Y_DIR_PIN PE4
#ifndef Y_CS_PIN
#define Y_CS_PIN PE3
#endif
//Driver2
#define Z_ENABLE_PIN PE2

#define Z_ENABLE_PIN PE2 // Driver2
#define Z_STEP_PIN PE1
#define Z_DIR_PIN PE0
#ifndef Z_CS_PIN
#define Z_CS_PIN PB7
#endif
//Driver3
#define E0_ENABLE_PIN PB6

#define E0_ENABLE_PIN PB6 // Driver3
#define E0_STEP_PIN PB5
#define E0_DIR_PIN PB4
#ifndef E0_CS_PIN
#define E0_CS_PIN PB3
#endif
//Driver4
#define E1_ENABLE_PIN PD7

#define E1_ENABLE_PIN PD7 // Driver4
#define E1_STEP_PIN PD6
#define E1_DIR_PIN PD5
#ifndef E1_CS_PIN
#define E1_CS_PIN PD4
#endif
//Driver5
#define E2_ENABLE_PIN PD3

#define E2_ENABLE_PIN PD3 // Driver5
#define E2_STEP_PIN PD2
#define E2_DIR_PIN PD1
#ifndef E2_CS_PIN
#define E2_CS_PIN PD0
#endif
//Driver6
#define E3_ENABLE_PIN PC8

#define E3_ENABLE_PIN PC8 // Driver6
#define E3_STEP_PIN PC7
#define E3_DIR_PIN PC6
#ifndef E3_CS_PIN
#define E3_CS_PIN PD15
#endif
//Driver7
#define E4_STEP_PIN PD13

#define E4_STEP_PIN PD13 // Driver7
#define E4_DIR_PIN PD12
#ifndef E4_CS_PIN
#define E4_CS_PIN PD11
Expand Down Expand Up @@ -328,8 +325,8 @@
#define DOGLCD_CS EXP1_05_PIN
#define DOGLCD_SCK EXP2_09_PIN
#define DOGLCD_MOSI EXP2_05_PIN
//#define LCD_BACKLIGHT_PIN -1
//#define LCD_RESET_PIN -1
//#define LCD_BACKLIGHT_PIN -1
//#define LCD_RESET_PIN -1

#elif ENABLED(FYSETC_MINI_12864_2_1)

Expand Down

0 comments on commit 62d8eb3

Please sign in to comment.