Skip to content

Commit

Permalink
🔧 Anycubic alternate Z1/Z2 wiring (#25071)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobil authored and thinkyhead committed Dec 16, 2022
1 parent 313716e commit e07a059
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Marlin/src/pins/ramps/pins_TRIGORILLA_14.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,15 @@
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 33
#endif
#define HEATER_BED_PIN MOSFET_B_PIN // HEATER1
#else
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 19
#endif
#endif

// Chiron swaps the Z stepper connections
#if EITHER(TRIGORILLA_MAPPING_CHIRON, SWAP_Z_MOTORS)
// Chiron and some Anycubic i3 MEGAs swap Z steppers
#define Z_STEP_PIN 36
#define Z_DIR_PIN 34
#define Z_ENABLE_PIN 30
Expand All @@ -99,12 +106,6 @@
#define Z2_DIR_PIN 48
#define Z2_ENABLE_PIN 62
#define Z2_CS_PIN 40

#define HEATER_BED_PIN MOSFET_B_PIN // HEATER1
#else
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 19
#endif
#endif
#endif

Expand Down

0 comments on commit e07a059

Please sign in to comment.