aboutsummaryrefslogtreecommitdiffstats
path: root/config/generic-mini-rambo.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-01-29 12:54:06 -0500
committerKevin O'Connor <kevin@koconnor.net>2018-01-29 13:08:15 -0500
commit21df21b7af2759aa577eb8d39d8215471956c25c (patch)
tree8d36f02176a2d1b817e2e2159791035d91e4282f /config/generic-mini-rambo.cfg
parentb7b216af7f49995f816f326c08f721b3814c9685 (diff)
downloadkutter-21df21b7af2759aa577eb8d39d8215471956c25c.tar.gz
kutter-21df21b7af2759aa577eb8d39d8215471956c25c.tar.xz
kutter-21df21b7af2759aa577eb8d39d8215471956c25c.zip
fan: Clarify hardware_pwm and allow cycle_time to be set on software pwm
Specify hardware pwm cycle times using the same method as software pwm (in seconds, not clock ticks). Allow the fan code to be configured with an explicit cycle time even when using software pwm. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/generic-mini-rambo.cfg')
-rw-r--r--config/generic-mini-rambo.cfg9
1 files changed, 6 insertions, 3 deletions
diff --git a/config/generic-mini-rambo.cfg b/config/generic-mini-rambo.cfg
index c04857e6..31e4af76 100644
--- a/config/generic-mini-rambo.cfg
+++ b/config/generic-mini-rambo.cfg
@@ -78,19 +78,22 @@ max_z_accel: 100
pin: PL3
scale: 2.0
value: 1.3
-hard_pwm: 32640
+cycle_time: .002
+hardware_pwm: True
[static_pwm_output stepper_z_current]
pin: PL4
scale: 2.0
value: 1.3
-hard_pwm: 32640
+cycle_time: .002
+hardware_pwm: True
[static_pwm_output stepper_e_current]
pin: PL5
scale: 2.0
value: 1.25
-hard_pwm: 32640
+cycle_time: .002
+hardware_pwm: True
[static_digital_output stepper_config]
pins: