From 8e8063a9d93eccb5ca16d807962d8c288832f916 Mon Sep 17 00:00:00 2001 From: Benoit Miller Date: Mon, 4 Mar 2019 13:37:38 -0500 Subject: [PATCH] config: Fixed Duet2 reversed heater/fan output pins (#1350) Using the Duet2 config as a base for your own config will no longer turn on all heaters and fans at full power during the (almost inevitable) MCU shutdown that will occur during initial Klipper setup. Signed-off-by: Benoit Miller --- config/generic-duet2.cfg | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/generic-duet2.cfg b/config/generic-duet2.cfg index 39603417..9a290e5f 100644 --- a/config/generic-duet2.cfg +++ b/config/generic-duet2.cfg @@ -183,7 +183,7 @@ enable_pin: !PC6 step_distance: .002 nozzle_diameter: 0.400 filament_diameter: 1.750 -heater_pin: PA20 +heater_pin: !PA20 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC15 control: pid @@ -208,7 +208,7 @@ enable_pin: !PC6 step_distance: .002 nozzle_diameter: 0.400 filament_diameter: 1.750 -heater_pin: PA16 +heater_pin: !PA16 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC12 control: pid @@ -233,7 +233,7 @@ enable_pin: !PC6 step_distance: .002 nozzle_diameter: 0.400 filament_diameter: 1.750 -heater_pin: PC3 +heater_pin: !PC3 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC29 control: pid @@ -258,7 +258,7 @@ enable_pin: !PC6 step_distance: .002 nozzle_diameter: 0.400 filament_diameter: 1.750 -heater_pin: PC5 +heater_pin: !PC5 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC30 control: pid @@ -276,7 +276,7 @@ interpolate: True run_current: 1.000 [heater_bed] -heater_pin: PA19 +heater_pin: !PA19 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC13 control: watermark @@ -327,32 +327,32 @@ max_z_accel: 100 pins: !PC2 [output_pin FAN3] -pin: !sx1509_duex:PIN_12 +pin: sx1509_duex:PIN_12 pwm: True hardware_pwm: True # Only hardware PWM fans are supported [output_pin FAN4] -pin: !sx1509_duex:PIN_7 +pin: sx1509_duex:PIN_7 pwm: True hardware_pwm: True [output_pin FAN5] -pin: !sx1509_duex:PIN_6 +pin: sx1509_duex:PIN_6 pwm: True hardware_pwm: True [output_pin FAN6] -pin: !sx1509_duex:PIN_5 +pin: sx1509_duex:PIN_5 pwm: True hardware_pwm: True [output_pin FAN7] -pin: !sx1509_duex:PIN_4 +pin: sx1509_duex:PIN_4 pwm: True hardware_pwm: True [output_pin FAN8] -pin: !sx1509_duex:PIN_15 +pin: sx1509_duex:PIN_15 pwm: True hardware_pwm: True