port integrated laser printing feature for the MEGA Pro
Migration from the original v1.2.9 firmware sourcecode to the current Marlin 2.x implementation. Move functions to AnycubicTouchscreenClass class and adjust Marlin calls.
This commit is contained in:
@@ -3442,6 +3442,12 @@
|
||||
|
||||
#define SPINDLE_LASER_ENA_PIN 40 // D40 should be unused. The laser is only connected to the PWM output.
|
||||
#define SPINDLE_LASER_PWM_PIN HEATER_0_PIN
|
||||
|
||||
// Anycubic TFT laser feature.
|
||||
#define MAX_X_SIZE 220
|
||||
#define MAX_Y_SIZE 150
|
||||
#define LASER_X_OFFSET 0 // The distance in the X direction between the laser and the extruder.
|
||||
#define LASER_Y_OFFSET 65 // The distance in the Y direction between the laser and the extruder.
|
||||
#endif
|
||||
|
||||
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
|
||||
|
Reference in New Issue
Block a user