aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJeff Tang <mrjefftang@users.noreply.github.com>2020-11-09 19:23:04 -0500
committerKevinOConnor <kevin@koconnor.net>2020-11-10 09:59:52 -0500
commitafbed5d4c71fbd7465b970169be0b54649f7c20e (patch)
tree429d7eecb60829990f182bb87626d0ff0da4ee04 /config
parent9e1697786d25c8dc1db905f6d41af4d0b73f022e (diff)
downloadkutter-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')
-rw-r--r--config/printer-wanhao-duplicator-6-2016.cfg13
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