aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.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/example.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/example.cfg')
-rw-r--r--config/example.cfg13
1 files changed, 7 insertions, 6 deletions
diff --git a/config/example.cfg b/config/example.cfg
index bc71d46c..567b162d 100644
--- a/config/example.cfg
+++ b/config/example.cfg
@@ -245,12 +245,13 @@ pin: ar9
# pin to be enabled for no more than half the time. This setting may
# be used to limit the total power output (over extended periods) to
# the fan. The default is 1.0.
-#hard_pwm: 0
-# Set this value to force hardware PWM instead of software PWM. Set
-# to 1 to force a hardware PWM at the fastest rate; set to a higher
-# number to force hardware PWM with the given cycle time in clock
-# ticks. The default is 0 which enables software PWM with a cycle
-# time of 10ms.
+#cycle_time: 0.010
+# The amount of time (in seconds) for each PWM power cycle to the
+# fan. It is recommended this be 10 milliseconds or greater when
+# using software based PWM. The default is 0.010 seconds.
+#hardware_pwm: False
+# Enable this to use hardware PWM instead of software PWM. The
+# default is False.
#kick_start_time: 0.100
# Time (in seconds) to run the fan at full speed when first enabling
# it (helps get the fan spinning). The default is 0.100 seconds.