config: define laser pins for Mega P #222

Merged
stklcode merged 1 commits from feature/laser into master 2021-11-02 05:10:30 -05:00
stklcode commented 2021-11-02 04:57:07 -05:00 (Migrated from github.com)

Description

This PR defines laser pins for the Mega Pro. The laser reuses the Header 0 pin.

Benefits

It is possible to use the builtin Marlin M3 - Spindle CW / Laser On command with the laser module attached.

cave: There is no sanity check in the FW, so using M3 without the laser module just puts the PWM values on the the heater.

Configurations

Just build any MEGA_P* target.

This does not enable the Anycubic TFT laser features (Bitmap printing), but it's definitely related to #49

### Description This PR defines laser pins for the Mega Pro. The laser reuses the Header 0 pin. ### Benefits It is possible to use the builtin Marlin [M3 - Spindle CW / Laser On](https://marlinfw.org/docs/gcode/M003.html) command with the laser module attached. **cave:** There is no sanity check in the FW, so using M3 without the laser module just puts the PWM values on the the heater. ### Configurations Just build any MEGA_P* target. ### Related Issues This does not enable the Anycubic TFT laser features (Bitmap printing), but it's definitely related to #49
knutwurst commented 2021-11-02 05:10:25 -05:00 (Migrated from github.com)

Oh yes, the new Marlin version can laser ;)
Thanks!

Oh yes, the new Marlin version can laser ;) Thanks!
knutwurst commented 2021-11-02 06:29:48 -05:00 (Migrated from github.com)

laser-eyes-space-cat-riding-dog-and-dinosaur-random-galaxy

![laser-eyes-space-cat-riding-dog-and-dinosaur-random-galaxy](https://user-images.githubusercontent.com/36196269/139838405-964ad751-58fe-4254-a1f0-68261421681c.jpg)
Sign in to join this conversation.
No description provided.