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>
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user