Enable spindle feature and place it on output HE0
This commit is contained in:
parent
c6463a07d1
commit
50a96dbd68
@ -3317,12 +3317,12 @@
|
|||||||
*
|
*
|
||||||
* See https://marlinfw.org/docs/configuration/2.0.9/laser_spindle.html for more config details.
|
* See https://marlinfw.org/docs/configuration/2.0.9/laser_spindle.html for more config details.
|
||||||
*/
|
*/
|
||||||
//#define SPINDLE_FEATURE
|
#define SPINDLE_FEATURE
|
||||||
//#define LASER_FEATURE
|
//#define LASER_FEATURE
|
||||||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||||
#define SPINDLE_LASER_ACTIVE_STATE LOW // Set to "HIGH" if SPINDLE_LASER_ENA_PIN is active HIGH
|
#define SPINDLE_LASER_ACTIVE_STATE HIGH // Set to "HIGH" if SPINDLE_LASER_ENA_PIN is active HIGH
|
||||||
|
|
||||||
#define SPINDLE_LASER_USE_PWM // Enable if your controller supports setting the speed/power
|
//#define SPINDLE_LASER_USE_PWM // Enable if your controller supports setting the speed/power
|
||||||
#if ENABLED(SPINDLE_LASER_USE_PWM)
|
#if ENABLED(SPINDLE_LASER_USE_PWM)
|
||||||
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
#define SPINDLE_LASER_PWM_INVERT false // Set to "true" if the speed/power goes up when you want it to go slower
|
||||||
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR, ESP32, and LPC)
|
#define SPINDLE_LASER_FREQUENCY 2500 // (Hz) Spindle/laser frequency (only on supported HALs: AVR, ESP32, and LPC)
|
||||||
|
@ -499,6 +499,13 @@
|
|||||||
#define NEOPIXEL_PIN P1_24
|
#define NEOPIXEL_PIN P1_24
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// MPCNC
|
||||||
|
// Spindle
|
||||||
|
//
|
||||||
|
#undef HEATER_0_PIN
|
||||||
|
#define SPINDLE_LASER_ENA_PIN P2_07
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Special pins
|
* Special pins
|
||||||
* P1_30 (37) (NOT 5V tolerant)
|
* P1_30 (37) (NOT 5V tolerant)
|
||||||
|
Loading…
Reference in New Issue
Block a user