Deploying to gh-pages from @ Klipper3d/klipper@8f361a15b2 🚀
This commit is contained in:
26
G-Codes.html
26
G-Codes.html
@@ -5098,6 +5098,19 @@ enabled.</p>
|
||||
<h4 id="set_fan_speed">SET_FAN_SPEED<a class="headerlink" href="#set_fan_speed" title="Permanent link">¶</a></h4>
|
||||
<p><code>SET_FAN_SPEED FAN=config_name SPEED=<speed></code> This command sets the
|
||||
speed of a fan. "speed" must be between 0.0 and 1.0.</p>
|
||||
<p><code>SET_FAN_SPEED PIN=config_name TEMPLATE=<template_name>
|
||||
[<param_x>=<literal>]</code>: If <code>TEMPLATE</code> is specified then it assigns a
|
||||
<a href="Config_Reference.html#display_template">display_template</a> to the given
|
||||
fan. For example, if one defined a <code>[display_template
|
||||
my_fan_template]</code> config section then one could assign
|
||||
<code>TEMPLATE=my_fan_template</code> here. The display_template should produce a
|
||||
string containing a floating point number with the desired value. The
|
||||
template will be continuously evaluated and the fan will be
|
||||
automatically set to the resulting speed. One may set display_template
|
||||
parameters to use during template evaluation (parameters will be
|
||||
parsed as Python literals). If TEMPLATE is an empty string then this
|
||||
command will clear any previous template assigned to the pin (one can
|
||||
then use <code>SET_FAN_SPEED</code> commands to manage the values directly).</p>
|
||||
<h3 id="filament_switch_sensor">[filament_switch_sensor]<a class="headerlink" href="#filament_switch_sensor" title="Permanent link">¶</a></h3>
|
||||
<p>The following command is available when a
|
||||
<a href="Config_Reference.html#filament_switch_sensor">filament_switch_sensor</a>
|
||||
@@ -5415,6 +5428,19 @@ enabled.</p>
|
||||
output <code>VALUE</code>. VALUE should be 0 or 1 for "digital" output pins. For
|
||||
PWM pins, set to a value between 0.0 and 1.0, or between 0.0 and
|
||||
<code>scale</code> if a scale is configured in the output_pin config section.</p>
|
||||
<p><code>SET_PIN PIN=config_name TEMPLATE=<template_name> [<param_x>=<literal>]</code>:
|
||||
If <code>TEMPLATE</code> is specified then it assigns a
|
||||
<a href="Config_Reference.html#display_template">display_template</a> to the given
|
||||
pin. For example, if one defined a <code>[display_template
|
||||
my_pin_template]</code> config section then one could assign
|
||||
<code>TEMPLATE=my_pin_template</code> here. The display_template should produce a
|
||||
string containing a floating point number with the desired value. The
|
||||
template will be continuously evaluated and the pin will be
|
||||
automatically set to the resulting value. One may set display_template
|
||||
parameters to use during template evaluation (parameters will be
|
||||
parsed as Python literals). If TEMPLATE is an empty string then this
|
||||
command will clear any previous template assigned to the pin (one can
|
||||
then use <code>SET_PIN</code> commands to manage the values directly).</p>
|
||||
<h3 id="palette2">[palette2]<a class="headerlink" href="#palette2" title="Permanent link">¶</a></h3>
|
||||
<p>The following commands are available when the
|
||||
<a href="Config_Reference.html#palette2">palette2 config section</a> is enabled.</p>
|
||||
|
||||
Reference in New Issue
Block a user