🔧 Anycubic alternate Z1/Z2 wiring (#25071)

This commit is contained in:
Simon Pilepich 2022-12-12 12:12:28 +11:00 committed by GitHub
parent 0f46ce6352
commit 809ec67e06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,8 +88,15 @@
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 33 #define FIL_RUNOUT_PIN 33
#endif #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_STEP_PIN 36
#define Z_DIR_PIN 34 #define Z_DIR_PIN 34
#define Z_ENABLE_PIN 30 #define Z_ENABLE_PIN 30
@ -99,12 +106,6 @@
#define Z2_DIR_PIN 48 #define Z2_DIR_PIN 48
#define Z2_ENABLE_PIN 62 #define Z2_ENABLE_PIN 62
#define Z2_CS_PIN 40 #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
#endif #endif