diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/example-extras.cfg | 15 | ||||
-rw-r--r-- | config/example.cfg | 13 | ||||
-rw-r--r-- | config/generic-mini-rambo.cfg | 9 | ||||
-rw-r--r-- | config/makergear-m2-2012.cfg | 3 |
4 files changed, 22 insertions, 18 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 37a3ca0b..787a4a29 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -209,14 +209,13 @@ #shutdown_value: # The value to set the pin to on an MCU shutdown event. The default # is 0. -#hard_pwm: -# 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 to use software PWM. #cycle_time: 0.100 -# The amount of time (in seconds) per PWM cycle when using software -# based PWM. The default is 0.100 seconds. +# The amount of time (in seconds) per PWM cycle. It is recommended +# this be 10 milliseconds or greater when using software based +# PWM. The default is 0.100 seconds. +#hardware_pwm: False +# Enable this to use hardware PWM instead of software PWM. The +# default is False. #scale: # This parameter can be used to alter how the 'value' and # 'shutdown_value' parameters are interpreted. If provided, then the @@ -234,8 +233,8 @@ #[static_pwm_output my_output_pwm] #pin: #value: -#hard_pwm: #cycle_time: +#hardware_pwm: #scale: # See the 'pwm_output' section for details on these parameters. 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. 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: diff --git a/config/makergear-m2-2012.cfg b/config/makergear-m2-2012.cfg index eec52640..67df1537 100644 --- a/config/makergear-m2-2012.cfg +++ b/config/makergear-m2-2012.cfg @@ -72,7 +72,8 @@ pin: PH5 [heater_fan nozzle_fan] pin: PH3 max_power: 0.61 -hard_pwm: 1 +cycle_time: .000030 +hardware_pwm: True [mcu] serial: /dev/ttyACM0 |