Deploying to gh-pages from @ Klipper3d/klipper@4671cf2d0e 🚀
This commit is contained in:
13
G-Codes.html
13
G-Codes.html
@@ -5034,9 +5034,16 @@ commands to manage the LED's color settings).</p>
|
||||
<a href="Config_Reference.html#output_pin">output_pin config section</a> is
|
||||
enabled.</p>
|
||||
<h4 id="set_pin">SET_PIN<a class="headerlink" href="#set_pin" title="Permanent link">¶</a></h4>
|
||||
<p><code>SET_PIN PIN=config_name VALUE=<value> CYCLE_TIME=<cycle_time></code>:
|
||||
Note - hardware PWM does not currently support the CYCLE_TIME
|
||||
parameter and will use the cycle time defined in the config.</p>
|
||||
<p><code>SET_PIN PIN=config_name VALUE=<value> [CYCLE_TIME=<cycle_time>]</code>: Set
|
||||
the pin to the given 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>Some pins (currently only "soft PWM" pins) support setting an explicit
|
||||
cycle time using the CYCLE_TIME parameter (specified in seconds). Note
|
||||
that the CYCLE_TIME parameter is not stored between SET_PIN commands
|
||||
(any SET_PIN command without an explicit CYCLE_TIME parameter will use
|
||||
the <code>cycle_time</code> specified in the output_pin config section).</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