Spindle/Laser pins for RADDS (#16119)

This commit is contained in:
Mario Costa 2019-12-19 08:37:07 +00:00 committed by Scott Lahteine
parent e5edbf9d35
commit 5f06f42ccd

View file

@ -34,7 +34,9 @@
// //
// Servos // Servos
// //
#if !HAS_CUTTER
#define SERVO0_PIN 5 #define SERVO0_PIN 5
#endif
#define SERVO1_PIN 6 #define SERVO1_PIN 6
#define SERVO2_PIN 39 #define SERVO2_PIN 39
#define SERVO3_PIN 40 #define SERVO3_PIN 40
@ -184,7 +186,9 @@
#define HEATER_0_PIN 13 #define HEATER_0_PIN 13
#define HEATER_1_PIN 12 #define HEATER_1_PIN 12
#define HEATER_2_PIN 11 #define HEATER_2_PIN 11
#if !HAS_CUTTER
#define HEATER_BED_PIN 7 // BED #define HEATER_BED_PIN 7 // BED
#endif
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 9 #define FAN_PIN 9
@ -204,6 +208,16 @@
#define I2C_EEPROM #define I2C_EEPROM
#define E2END 0x1FFF // 8KB #define E2END 0x1FFF // 8KB
//
// M3/M4/M5 - Spindle/Laser Control
//
#if HAS_CUTTER
#if !NUM_SERVOS
#define SPINDLE_LASER_PWM_PIN 5 // SERVO0_PIN
#endif
#define SPINDLE_LASER_ENA_PIN 7 // HEATER_BED_PIN - Pullup/down!
#endif
// //
// LCD / Controller // LCD / Controller
// //