Site updated at 2017-11-07 09:06:59 UTC

This commit is contained in:
Travis CI 2017-11-07 09:07:00 +00:00
parent 004eb3ad52
commit 5a4fa9ccf4
30 changed files with 137 additions and 99 deletions

View file

@ -88,20 +88,42 @@
<span class="s">negate</span><span class="pi">:</span> <span class="s">true</span>
</code></pre>
</div>
<p>Configuration variables:</p>
<ul>
<li><strong>pins</strong> array (<em>Required</em>): List of pins to use.
<ul>
<li><strong>[number]</strong> (<em>Required</em>): The pin number that corresponds with the pin numbering schema of your board.
<ul>
<li><strong>name</strong> (<em>Required</em>): Name that will be used in the frontend for the pin.</li>
<li><strong>initial</strong> (<em>Optional</em>): The initial value for this port. Defaults to <code class="highlighter-rouge">False</code> .</li>
<li><strong>negate</strong> (<em>Optional</em>): If this pin should be inverted. Defaults to <code class="highlighter-rouge">False</code>.</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="config-vars">
<h3><a class="title-link" name="configuration-variables" href="#configuration-variables"></a> Configuration Variables</h3>
<dl class="">
<dt><a class="title-link" name="pins" href="#pins"></a> pins</dt>
<dd>
<p class="desc"><span class="type">(<span class="map">map</span>)</span><span class="required">(Required)</span><span class="description">List of of pins to use.</span></p>
</dd>
<dd>
<dl class="nested">
<dt><a class="title-link" name="pin_number" href="#pin_number"></a> pin_number</dt>
<dd>
<p class="desc"><span class="type">(<span class="map">map</span>)</span><span class="required">(Required)</span><span class="description">The pin number that corresponds with the pin numbering schema of your board.</span></p>
</dd>
<dd>
<dl class="nested">
<dt><a class="title-link" name="name" href="#name"></a> name</dt>
<dd>
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span></p>
<p class="default">Default value: Name that will be used in the frontend for the pin.</p>
</dd>
<dt><a class="title-link" name="initial" href="#initial"></a> initial</dt>
<dd>
<p class="desc"><span class="type">(<span class="boolean">boolean</span>)</span><span class="required">(Optional)</span></p>
<p class="default">Default value: false</p>
</dd>
<dt><a class="title-link" name="negate" href="#negate"></a> negate</dt>
<dd>
<p class="desc"><span class="type">(<span class="boolean">boolean</span>)</span><span class="required">(Optional)</span></p>
<p class="default">Default value: false</p>
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</div>
<p>The digital pins are numbered from 0 to 13 on a Arduino UNO. The available pins are 2 till 13. For testing purposes you can use pin 13 because with that pin you can control the internal LED.</p>
</article>
</div>