Skip to content

Commit

Permalink
deploy: 3c2f972
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickelectric committed Mar 4, 2024
1 parent cfb7023 commit 358b802
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
2 changes: 2 additions & 0 deletions python/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ <h2 id="S">S</h2>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#bluerobotics_navigator.set_pwm_channel_value">set_pwm_channel_value() (in module bluerobotics_navigator)</a>
</li>
<li><a href="index.html#bluerobotics_navigator.set_pwm_channels_duty_cycle_values">set_pwm_channels_duty_cycle_values() (in module bluerobotics_navigator)</a>
</li>
<li><a href="index.html#bluerobotics_navigator.set_pwm_channels_value">set_pwm_channels_value() (in module bluerobotics_navigator)</a>
</li>
Expand Down
21 changes: 21 additions & 0 deletions python/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
<li><a class="reference internal" href="#bluerobotics_navigator.set_neopixel"><code class="docutils literal notranslate"><span class="pre">set_neopixel()</span></code></a></li>
<li><a class="reference internal" href="#bluerobotics_navigator.set_pwm_channel_duty_cycle"><code class="docutils literal notranslate"><span class="pre">set_pwm_channel_duty_cycle()</span></code></a></li>
<li><a class="reference internal" href="#bluerobotics_navigator.set_pwm_channel_value"><code class="docutils literal notranslate"><span class="pre">set_pwm_channel_value()</span></code></a></li>
<li><a class="reference internal" href="#bluerobotics_navigator.set_pwm_channels_duty_cycle_values"><code class="docutils literal notranslate"><span class="pre">set_pwm_channels_duty_cycle_values()</span></code></a></li>
<li><a class="reference internal" href="#bluerobotics_navigator.set_pwm_channels_value"><code class="docutils literal notranslate"><span class="pre">set_pwm_channels_value()</span></code></a></li>
<li><a class="reference internal" href="#bluerobotics_navigator.set_pwm_channels_values"><code class="docutils literal notranslate"><span class="pre">set_pwm_channels_values()</span></code></a></li>
<li><a class="reference internal" href="#bluerobotics_navigator.set_pwm_enable"><code class="docutils literal notranslate"><span class="pre">set_pwm_enable()</span></code></a></li>
Expand Down Expand Up @@ -768,6 +769,26 @@ <h1>BlueRobotics’s Navigator Library<a class="headerlink" href="#bluerobotics-
</div>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="bluerobotics_navigator.set_pwm_channels_duty_cycle_values">
<span class="sig-prename descclassname"><span class="pre">bluerobotics_navigator.</span></span><span class="sig-name descname"><span class="pre">set_pwm_channels_duty_cycle_values</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">channels</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">duty_cycle_values</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#bluerobotics_navigator.set_pwm_channels_duty_cycle_values" title="Link to this definition"></a></dt>
<dd><p>Like <a class="reference internal" href="#bluerobotics_navigator.set_pwm_channel_duty_cycle" title="bluerobotics_navigator.set_pwm_channel_duty_cycle"><code class="xref py py-func docutils literal notranslate"><span class="pre">set_pwm_channel_duty_cycle()</span></code></a>. This function sets the duty cycle for a list of
multiple channels with multiple values.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>channels</strong> ([<a class="reference internal" href="#bluerobotics_navigator.PwmChannel" title="bluerobotics_navigator.PwmChannel"><code class="xref py py-class docutils literal notranslate"><span class="pre">PwmChannel</span></code></a>]) – A list of PWM channels to configure.</p></li>
<li><p><strong>duty_cycle_values</strong> (<em>f32</em>) – Duty cycle count value (0.0 : 1.0).</p></li>
</ul>
</dd>
</dl>
<p class="rubric">Examples</p>
<p>You can use this method like <a class="reference internal" href="#bluerobotics_navigator.set_pwm_channel_duty_cycle" title="bluerobotics_navigator.set_pwm_channel_duty_cycle"><code class="xref py py-func docutils literal notranslate"><span class="pre">set_pwm_channel_duty_cycle()</span></code></a>.</p>
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">navigator</span><span class="o">.</span><span class="n">set_pwm_channels_duty_cycle_values</span><span class="p">([</span><span class="n">PwmChannel</span><span class="o">.</span><span class="n">Ch1</span><span class="p">,</span> <span class="n">PwmChannel</span><span class="o">.</span><span class="n">Ch5</span><span class="p">],</span> <span class="p">[</span><span class="mf">0.25</span><span class="p">,</span> <span class="mf">0.75</span><span class="p">])</span>
</pre></div>
</div>
</dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="bluerobotics_navigator.set_pwm_channels_value">
<span class="sig-prename descclassname"><span class="pre">bluerobotics_navigator.</span></span><span class="sig-name descname"><span class="pre">set_pwm_channels_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">channels</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#bluerobotics_navigator.set_pwm_channels_value" title="Link to this definition"></a></dt>
Expand Down
Binary file modified python/objects.inv
Binary file not shown.
Loading

0 comments on commit 358b802

Please sign in to comment.