🔧 Normal FET layout with Spindle/Laser (#23409)

This commit is contained in:
Mike La Spina 2022-01-02 02:23:55 -06:00 committed by Scott Lahteine
parent 1170ed995e
commit 974883d2f6
5 changed files with 5 additions and 5 deletions

View File

@ -112,7 +112,7 @@
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE) #if HAS_CUTTER
#define SPINDLE_DIR_PIN 16 #define SPINDLE_DIR_PIN 16
#define SPINDLE_LASER_ENA_PIN 17 // Pin should have a pullup! #define SPINDLE_LASER_ENA_PIN 17 // Pin should have a pullup!
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM

View File

@ -45,7 +45,7 @@
#define FET_ORDER_EFF 1 #define FET_ORDER_EFF 1
#elif MB(RAMPS_13_EEF, RAMPS_14_EEF, RAMPS_PLUS_EEF, RAMPS_14_RE_ARM_EEF, RAMPS_SMART_EEF, RAMPS_DUO_EEF, RAMPS4DUE_EEF) #elif MB(RAMPS_13_EEF, RAMPS_14_EEF, RAMPS_PLUS_EEF, RAMPS_14_RE_ARM_EEF, RAMPS_SMART_EEF, RAMPS_DUO_EEF, RAMPS4DUE_EEF)
#define FET_ORDER_EEF 1 #define FET_ORDER_EEF 1
#elif MB(RAMPS_13_SF, RAMPS_14_SF, RAMPS_PLUS_SF, RAMPS_14_RE_ARM_SF, RAMPS_SMART_SF, RAMPS_DUO_SF, RAMPS4DUE_SF) || EITHER(SPINDLE_FEATURE, LASER_FEATURE) #elif MB(RAMPS_13_SF, RAMPS_14_SF, RAMPS_PLUS_SF, RAMPS_14_RE_ARM_SF, RAMPS_SMART_SF, RAMPS_DUO_SF, RAMPS4DUE_SF)
#define FET_ORDER_SF 1 #define FET_ORDER_SF 1
#elif HAS_MULTI_HOTEND && TEMP_SENSOR_BED #elif HAS_MULTI_HOTEND && TEMP_SENSOR_BED
#define FET_ORDER_EEB 1 #define FET_ORDER_EEB 1

View File

@ -226,7 +226,7 @@
// //
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE) && !PIN_EXISTS(SPINDLE_LASER_ENA) #if HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
#if !NUM_SERVOS // Prefer the servo connector #if !NUM_SERVOS // Prefer the servo connector
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM

View File

@ -135,7 +135,7 @@
#define LCD_BACKLIGHT_PIN 17 // LCD backlight LED #define LCD_BACKLIGHT_PIN 17 // LCD backlight LED
#endif #endif
#if NONE(SPINDLE_FEATURE, LASER_FEATURE) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // try to use IO Header #if !HAS_CUTTER && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // try to use IO Header
#define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available #define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available
#endif #endif

View File

@ -253,7 +253,7 @@
#define FAN_PIN PB7 // Fan0 #define FAN_PIN PB7 // Fan0
#endif #endif
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE) #if HAS_CUTTER
#ifndef SPINDLE_LASER_PWM_PIN #ifndef SPINDLE_LASER_PWM_PIN
#define SPINDLE_LASER_PWM_PIN PB5 #define SPINDLE_LASER_PWM_PIN PB5
#endif #endif