diff options
author | Jeff Tang <mrjefftang@users.noreply.github.com> | 2020-11-09 19:23:04 -0500 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2020-11-10 09:59:52 -0500 |
commit | afbed5d4c71fbd7465b970169be0b54649f7c20e (patch) | |
tree | 429d7eecb60829990f182bb87626d0ff0da4ee04 /config/printer-wanhao-duplicator-6-2016.cfg | |
parent | 9e1697786d25c8dc1db905f6d41af4d0b73f022e (diff) | |
download | kutter-afbed5d4c71fbd7465b970169be0b54649f7c20e.tar.gz kutter-afbed5d4c71fbd7465b970169be0b54649f7c20e.tar.xz kutter-afbed5d4c71fbd7465b970169be0b54649f7c20e.zip |
config: Add caselight support for Wanhao Duplicator 6
Signed-off-by: Jeff Tang <mrjefftang@gmail.com>
Diffstat (limited to 'config/printer-wanhao-duplicator-6-2016.cfg')
-rw-r--r-- | config/printer-wanhao-duplicator-6-2016.cfg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/printer-wanhao-duplicator-6-2016.cfg b/config/printer-wanhao-duplicator-6-2016.cfg index 062db4ff..962d784d 100644 --- a/config/printer-wanhao-duplicator-6-2016.cfg +++ b/config/printer-wanhao-duplicator-6-2016.cfg @@ -105,3 +105,16 @@ lcd_type: ssd1306 reset_pin: PE3 encoder_pins: ^PG1, ^PG0 click_pin: ^!PD2 + +[output_pin caselight] +pin: PH5 +value: 0 +pwm: True + +[gcode_macro LIGHTS_OFF] +gcode: + SET_PIN PIN=caselight VALUE=0 + +[gcode_macro LIGHTS_ON] +gcode: + SET_PIN PIN=caselight VALUE=1 |