|
|
@ -28,12 +28,13 @@
|
|
|
|
#error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
|
|
|
|
#error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define BOARD_NAME "Azteeg X3 Pro"
|
|
|
|
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
|
|
|
|
|
|
|
#define CASE_LIGHT_PIN 44 // must define it here or else RAMPS will define it
|
|
|
|
#if !PIN_EXISTS(CASE_LIGHT) // doesn't already exist so OK to change the definition coming
|
|
|
|
|
|
|
|
#define OK_TO_CHANGE_CASE_LIGHT // in from from the include file
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define BOARD_NAME "Azteeg X3 Pro"
|
|
|
|
|
|
|
|
|
|
|
|
#include "pins_RAMPS.h"
|
|
|
|
#include "pins_RAMPS.h"
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __AVR_ATmega2560__
|
|
|
|
#ifndef __AVR_ATmega2560__
|
|
|
@ -144,19 +145,16 @@
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Misc. Functions
|
|
|
|
// Misc. Functions
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#if ENABLED(OK_TO_CHANGE_CASE_LIGHT)
|
|
|
|
#if ENABLED(CASE_LIGHT_ENABLE) && PIN_EXISTS(CASE_LIGHT) && defined(DOGLCD_A0) && DOGLCD_A0 == CASE_LIGHT_PIN
|
|
|
|
#undef DOGLCD_A0 // steal pin 44 for the case light; if you have a Viki2 and have connected it
|
|
|
|
#undef DOGLCD_A0 // steal pin 44 for the case light; if you have a Viki2 and have connected it
|
|
|
|
#define DOGLCD_A0 57 // following the Panucatt wiring diagram, you may need to tweak these pin assignments
|
|
|
|
#define DOGLCD_A0 57 // following the Panucatt wiring diagram, you may need to tweak these pin assignments
|
|
|
|
// as the wiring diagram uses pin 44 for DOGLCD_A0
|
|
|
|
// as the wiring diagram uses pin 44 for DOGLCD_A0
|
|
|
|
|
|
|
|
|
|
|
|
#undef CASE_LIGHT_PIN
|
|
|
|
|
|
|
|
#define CASE_LIGHT_PIN 44 // must have a hardware PWM
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// M3/M4/M5 - Spindle/Laser Control
|
|
|
|
// M3/M4/M5 - Spindle/Laser Control
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are no good with the AzteegX3 board
|
|
|
|
#undef SPINDLE_LASER_PWM_PIN // Definitions in pins_RAMPS.h are no good with the AzteegX3pro board
|
|
|
|
#undef SPINDLE_LASER_ENABLE_PIN
|
|
|
|
#undef SPINDLE_LASER_ENABLE_PIN
|
|
|
|
#undef SPINDLE_DIR_PIN
|
|
|
|
#undef SPINDLE_DIR_PIN
|
|
|
|
|
|
|
|
|
|
|
|