Deploying to gh-pages from @ Klipper3d/klipper@43a9685c58 🚀

This commit is contained in:
KevinOConnor 2024-01-24 01:08:31 +00:00
parent 12460dca82
commit 4024271af8
17 changed files with 127 additions and 24 deletions

View file

@ -1317,6 +1317,13 @@
[pwm_tool]
</a>
</li>
<li class="md-nav__item">
<a href="#pwm_cycle_time" class="md-nav__link">
[pwm_cycle_time]
</a>
</li>
<li class="md-nav__item">
@ -3322,6 +3329,13 @@
[pwm_tool]
</a>
</li>
<li class="md-nav__item">
<a href="#pwm_cycle_time" class="md-nav__link">
[pwm_cycle_time]
</a>
</li>
<li class="md-nav__item">
@ -6473,24 +6487,12 @@ pin:
# If this is true, the value fields should be between 0 and 1; if it
# is false the value fields should be either 0 or 1. The default is
# False.
#static_value:
# If this is set, then the pin is assigned to this value at startup
# and the pin can not be changed during runtime. A static pin uses
# slightly less ram in the micro-controller. The default is to use
# runtime configuration of pins.
#value:
# The value to initially set the pin to during MCU configuration.
# The default is 0 (for low voltage).
#shutdown_value:
# The value to set the pin to on an MCU shutdown event. The default
# is 0 (for low voltage).
#maximum_mcu_duration:
# The maximum duration a non-shutdown value may be driven by the MCU
# without an acknowledge from the host.
# If host can not keep up with an update, the MCU will shutdown
# and set all pins to their respective shutdown values.
# Default: 0 (disabled)
# Usual values are around 5 seconds.
#cycle_time: 0.100
# The amount of time (in seconds) per PWM cycle. It is recommended
# this be 10 milliseconds or greater when using software based PWM.
@ -6510,6 +6512,9 @@ pin:
# then the &#39;value&#39; parameter can be specified using the desired
# amperage for the stepper. The default is to not scale the &#39;value&#39;
# parameter.
#maximum_mcu_duration:
#static_value:
# These options are deprecated and should no longer be specified.
</code></pre></div>
<h3 id="pwm_tool">[pwm_tool]<a class="headerlink" href="#pwm_tool" title="Permanent link">&para;</a></h3>
@ -6521,15 +6526,36 @@ extended <a href="G-Codes.html#output_pin">g-code commands</a>.</p>
<div class="highlight"><pre><span></span><code>[pwm_tool my_tool]
pin:
# The pin to configure as an output. This parameter must be provided.
#maximum_mcu_duration:
# The maximum duration a non-shutdown value may be driven by the MCU
# without an acknowledge from the host.
# If host can not keep up with an update, the MCU will shutdown
# and set all pins to their respective shutdown values.
# Default: 0 (disabled)
# Usual values are around 5 seconds.
#value:
#shutdown_value:
#maximum_mcu_duration:
#cycle_time: 0.100
#hardware_pwm: False
#scale:
# See the &quot;output_pin&quot; section for the definition of these parameters.
</code></pre></div>
<h3 id="pwm_cycle_time">[pwm_cycle_time]<a class="headerlink" href="#pwm_cycle_time" title="Permanent link">&para;</a></h3>
<p>Run-time configurable output pins with dynamic pwm cycle timing (one
may define any number of sections with an "pwm_cycle_time" prefix).
Pins configured here will be setup as output pins and one may modify
them at run-time using "SET_PIN PIN=my_pin VALUE=.1 CYCLE_TIME=0.100"
type extended <a href="G-Codes.html#pwm_cycle_time">g-code commands</a>.</p>
<div class="highlight"><pre><span></span><code>[pwm_cycle_time my_pin]
pin:
#value:
#shutdown_value:
#cycle_time: 0.100
#scale:
# See the &quot;output_pin&quot; section for information on these parameters.
</code></pre></div>
<h3 id="static_digital_output">[static_digital_output]<a class="headerlink" href="#static_digital_output" title="Permanent link">&para;</a></h3>
<p>Statically configured digital output pins (one may define any number
of sections with a "static_digital_output" prefix). Pins configured