Updated docs
This commit is contained in:
parent
b9972b0527
commit
b66eb5befa
@ -1319,7 +1319,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1325,7 +1325,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1031,7 +1031,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-63">line 63</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-60">line 60</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1241,7 +1241,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-36">line 36</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-33">line 33</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1515,7 +1515,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-54">line 54</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-51">line 51</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1622,7 +1622,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -475,7 +475,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -596,7 +596,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-152">line 152</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-149">line 149</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -767,7 +767,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-160">line 160</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-157">line 157</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -891,7 +891,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-200">line 200</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-197">line 197</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1062,7 +1062,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-208">line 208</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-205">line 205</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1233,7 +1233,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1354,7 +1354,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1526,7 +1526,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-253">line 253</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-250">line 250</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1698,7 +1698,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-266">line 266</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-263">line 263</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1870,7 +1870,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-175">line 175</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-172">line 172</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2042,7 +2042,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-217">line 217</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-214">line 214</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2221,7 +2221,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2392,7 +2392,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2539,7 +2539,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2715,7 +2715,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -970,6 +970,918 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 class="subsection-title">Methods</h3>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<dt>
|
||||||
|
<h4 class="name" id="sendPFIRMessage"><span class="type-signature"></span>sendPFIRMessage(message)</h4>
|
||||||
|
|
||||||
|
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<p>Send a raw Power Functions IR command</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Parameters:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="params table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<th>Name</th>
|
||||||
|
|
||||||
|
|
||||||
|
<th>Type</th>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<th class="last">Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>message</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">Buffer</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"><p>2 byte payload making up a Power Functions protocol command. NOTE: Only specify nibbles 1-3, nibble 4 should be zeroed.</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
||||||
|
<dd class="tag-source">
|
||||||
|
<ul class="dummy">
|
||||||
|
<li>
|
||||||
|
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>,
|
||||||
|
<a href="devices_colordistancesensor.js.html#sunlight-1-line-136">line 136</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Returns:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="param-desc">
|
||||||
|
<p>Resolved upon successful issuance of the command.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
Type
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
<span class="param-type">Promise</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<dt>
|
||||||
|
<h4 class="name" id="setColor"><span class="type-signature"></span>setColor(color)</h4>
|
||||||
|
|
||||||
|
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<p>Set the color of the LED on the sensor via a color value.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Parameters:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="params table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<th>Name</th>
|
||||||
|
|
||||||
|
|
||||||
|
<th>Type</th>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<th class="last">Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>color</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">Color</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
||||||
|
<dd class="tag-source">
|
||||||
|
<ul class="dummy">
|
||||||
|
<li>
|
||||||
|
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>,
|
||||||
|
<a href="devices_colordistancesensor.js.html#sunlight-1-line-154">line 154</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Returns:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="param-desc">
|
||||||
|
<p>Resolved upon successful issuance of the command.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
Type
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
<span class="param-type">Promise</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<dt>
|
||||||
|
<h4 class="name" id="setPFExtendedChannel"><span class="type-signature"></span>setPFExtendedChannel(channel)</h4>
|
||||||
|
|
||||||
|
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<p>Switches the IR receiver into extended channel mode. After setting this, use channels 5-8 instead of 1-4 for this receiver.</p>
|
||||||
|
<p>NOTE: Calling this with channel 5-8 with switch off extended channel mode for this receiver.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Parameters:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="params table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<th>Name</th>
|
||||||
|
|
||||||
|
|
||||||
|
<th>Type</th>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<th class="last">Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>channel</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">number</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"><p>Channel number, between 1-8</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
||||||
|
<dd class="tag-source">
|
||||||
|
<ul class="dummy">
|
||||||
|
<li>
|
||||||
|
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>,
|
||||||
|
<a href="devices_colordistancesensor.js.html#sunlight-1-line-74">line 74</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Returns:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="param-desc">
|
||||||
|
<p>Resolved upon successful issuance of the command.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
Type
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
<span class="param-type">Promise</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<dt>
|
||||||
|
<h4 class="name" id="setPFPower"><span class="type-signature"></span>setPFPower(channel, output, power)</h4>
|
||||||
|
|
||||||
|
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<p>Set the power of a Power Functions motor via IR</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Parameters:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="params table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<th>Name</th>
|
||||||
|
|
||||||
|
|
||||||
|
<th>Type</th>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<th class="last">Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>channel</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">number</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"><p>Channel number, between 1-4</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>output</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">string</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"><p>Outport port, "RED" (A) or "BLUE" (B)</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>power</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">number</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"><p>7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
||||||
|
<dd class="tag-source">
|
||||||
|
<ul class="dummy">
|
||||||
|
<li>
|
||||||
|
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>,
|
||||||
|
<a href="devices_colordistancesensor.js.html#sunlight-1-line-94">line 94</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Returns:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="param-desc">
|
||||||
|
<p>Resolved upon successful issuance of the command.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
Type
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
<span class="param-type">Promise</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<dt>
|
||||||
|
<h4 class="name" id="startPFMotors"><span class="type-signature"></span>startPFMotors(channel, powerA, powerB)</h4>
|
||||||
|
|
||||||
|
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="description">
|
||||||
|
<p>Start Power Functions motors running via IR</p>
|
||||||
|
<p>NOTE: This command is designed for bang-bang style operation. To keep the motors running, the sensor needs to be within range of the IR receiver constantly.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Parameters:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="params table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<th>Name</th>
|
||||||
|
|
||||||
|
|
||||||
|
<th>Type</th>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<th class="last">Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>channel</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">Buffer</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"><p>Channel number, between 1-4</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>powerA</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">Buffer</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"><p>7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td class="name"><code>powerB</code></td>
|
||||||
|
|
||||||
|
|
||||||
|
<td class="type">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="param-type">Buffer</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td class="description last"><p>7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.</p></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
||||||
|
<dd class="tag-source">
|
||||||
|
<ul class="dummy">
|
||||||
|
<li>
|
||||||
|
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>,
|
||||||
|
<a href="devices_colordistancesensor.js.html#sunlight-1-line-114">line 114</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5>Returns:</h5>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="param-desc">
|
||||||
|
<p>Resolved upon successful issuance of the command.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
Type
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
|
||||||
|
<span class="param-type">Promise</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1482,7 +2394,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -475,7 +475,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -596,7 +596,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-152">line 152</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-149">line 149</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -767,7 +767,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-160">line 160</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-157">line 157</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -891,7 +891,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-200">line 200</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-197">line 197</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1062,7 +1062,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-208">line 208</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-205">line 205</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1233,7 +1233,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1354,7 +1354,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1526,7 +1526,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-253">line 253</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-250">line 250</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1698,7 +1698,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-266">line 266</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-263">line 263</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1870,7 +1870,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-175">line 175</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-172">line 172</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2042,7 +2042,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-217">line 217</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-214">line 214</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2221,7 +2221,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2392,7 +2392,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2539,7 +2539,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2715,7 +2715,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1170,7 +1170,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -968,7 +968,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1505,7 +1505,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1676,7 +1676,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1797,7 +1797,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2000,7 +2000,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2079,7 +2079,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1506,7 +1506,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1040,7 +1040,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-63">line 63</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-60">line 60</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1259,7 +1259,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-36">line 36</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-33">line 33</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1551,7 +1551,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-54">line 54</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-51">line 51</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1658,7 +1658,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1350,7 +1350,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1022,7 +1022,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1617,7 +1617,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1729,7 +1729,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-152">line 152</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-149">line 149</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1891,7 +1891,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-160">line 160</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-157">line 157</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2006,7 +2006,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-200">line 200</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-197">line 197</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2168,7 +2168,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-208">line 208</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-205">line 205</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2339,7 +2339,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2460,7 +2460,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2623,7 +2623,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-253">line 253</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-250">line 250</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2786,7 +2786,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-266">line 266</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-263">line 263</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2949,7 +2949,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-175">line 175</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-172">line 172</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3112,7 +3112,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-217">line 217</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-214">line 214</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3282,7 +3282,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3453,7 +3453,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3591,7 +3591,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3758,7 +3758,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1398,7 +1398,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1490,7 +1490,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1652,7 +1652,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1764,7 +1764,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1958,7 +1958,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2037,7 +2037,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1398,7 +1398,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -957,7 +957,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1170,7 +1170,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1550,7 +1550,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1721,7 +1721,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1842,7 +1842,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2045,7 +2045,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2124,7 +2124,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -957,7 +957,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1194,7 +1194,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1681,7 +1681,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1802,7 +1802,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-152">line 152</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-149">line 149</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1973,7 +1973,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-160">line 160</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-157">line 157</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2097,7 +2097,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-200">line 200</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-197">line 197</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2268,7 +2268,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-208">line 208</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-205">line 205</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2444,7 +2444,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2570,7 +2570,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2742,7 +2742,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-253">line 253</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-250">line 250</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2914,7 +2914,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-266">line 266</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-263">line 263</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3086,7 +3086,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-175">line 175</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-172">line 172</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3258,7 +3258,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-217">line 217</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-214">line 214</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3437,7 +3437,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3613,7 +3613,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3760,7 +3760,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3936,7 +3936,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1681,7 +1681,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1802,7 +1802,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-152">line 152</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-149">line 149</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1973,7 +1973,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-160">line 160</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-157">line 157</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2097,7 +2097,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-200">line 200</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-197">line 197</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2268,7 +2268,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-208">line 208</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-205">line 205</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2444,7 +2444,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2570,7 +2570,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2742,7 +2742,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-253">line 253</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-250">line 250</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2914,7 +2914,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-266">line 266</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-263">line 263</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3086,7 +3086,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-175">line 175</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-172">line 172</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3258,7 +3258,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-217">line 217</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-214">line 214</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3437,7 +3437,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3613,7 +3613,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3760,7 +3760,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3936,7 +3936,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1212,7 +1212,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1550,7 +1550,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1721,7 +1721,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1842,7 +1842,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2045,7 +2045,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2124,7 +2124,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1170,7 +1170,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1022,7 +1022,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1040,7 +1040,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-63">line 63</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-60">line 60</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1259,7 +1259,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-36">line 36</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-33">line 33</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2070,7 +2070,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-54">line 54</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-51">line 51</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2325,7 +2325,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1458,7 +1458,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1552,7 +1552,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1458,7 +1458,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1337,7 +1337,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1337,7 +1337,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1337,7 +1337,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1550,7 +1550,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-88">line 88</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-77">line 77</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1721,7 +1721,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-56">line 56</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-48">line 48</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1842,7 +1842,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-44">line 44</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-40">line 40</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2045,7 +2045,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2124,7 +2124,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1218,7 +1218,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1218,7 +1218,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1218,7 +1218,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1337,7 +1337,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1194,7 +1194,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1040,7 +1040,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-63">line 63</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-60">line 60</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1259,7 +1259,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-36">line 36</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-33">line 33</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1551,7 +1551,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
<a href="devices_basicmotor.js.html">devices/basicmotor.js</a>,
|
||||||
<a href="devices_basicmotor.js.html#sunlight-1-line-54">line 54</a>
|
<a href="devices_basicmotor.js.html#sunlight-1-line-51">line 51</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1658,7 +1658,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1170,7 +1170,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -1469,7 +1469,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
|
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
|
||||||
<a href="hubs_wedo2smarthub.js.html#sunlight-1-line-98">line 98</a>
|
<a href="hubs_wedo2smarthub.js.html#sunlight-1-line-94">line 94</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1775,7 +1775,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
|
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
|
||||||
<a href="hubs_wedo2smarthub.js.html#sunlight-1-line-173">line 173</a>
|
<a href="hubs_wedo2smarthub.js.html#sunlight-1-line-169">line 169</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1854,7 +1854,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -704,7 +704,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -875,7 +875,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1022,7 +1022,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1722,7 +1722,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1893,7 +1893,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2040,7 +2040,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2452,7 +2452,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3214,7 +3214,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3385,7 +3385,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3523,7 +3523,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -3773,7 +3773,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -4241,7 +4241,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -4709,7 +4709,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -4885,7 +4885,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -5032,7 +5032,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -5276,7 +5276,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-290">line 290</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-285">line 285</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -5452,7 +5452,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -5599,7 +5599,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
<a href="hubs_basehub.js.html">hubs/basehub.js</a>,
|
||||||
<a href="hubs_basehub.js.html#sunlight-1-line-307">line 307</a>
|
<a href="hubs_basehub.js.html#sunlight-1-line-302">line 302</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -5867,7 +5867,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -8396,7 +8396,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
<a href="hubs_lpf2hub.js.html">hubs/lpf2hub.js</a>,
|
||||||
<a href="hubs_lpf2hub.js.html#sunlight-1-line-181">line 181</a>
|
<a href="hubs_lpf2hub.js.html#sunlight-1-line-170">line 170</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -9752,7 +9752,7 @@
|
|||||||
<ul class="dummy">
|
<ul class="dummy">
|
||||||
<li>
|
<li>
|
||||||
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
|
<a href="hubs_wedo2smarthub.js.html">hubs/wedo2smarthub.js</a>,
|
||||||
<a href="hubs_wedo2smarthub.js.html#sunlight-1-line-173">line 173</a>
|
<a href="hubs_wedo2smarthub.js.html#sunlight-1-line-169">line 169</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
@ -9831,7 +9831,7 @@
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -207,7 +207,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -107,10 +107,7 @@ class BasicMotor extends device_1.Device {
|
|||||||
if (interrupt) {
|
if (interrupt) {
|
||||||
this.cancelEventTimer();
|
this.cancelEventTimer();
|
||||||
}
|
}
|
||||||
return new Promise((resolve) => {
|
return this.writeDirect(0x00, Buffer.from([utils_1.mapSpeed(power)]));
|
||||||
this.writeDirect(0x00, Buffer.from([utils_1.mapSpeed(power)]));
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Ramp the motor power.
|
* Ramp the motor power.
|
||||||
@ -195,7 +192,7 @@ exports.BasicMotor = BasicMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -150,12 +150,118 @@ class ColorDistanceSensor extends device_1.Device {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Switches the IR receiver into extended channel mode. After setting this, use channels 5-8 instead of 1-4 for this receiver.
|
||||||
|
*
|
||||||
|
* NOTE: Calling this with channel 5-8 with switch off extended channel mode for this receiver.
|
||||||
|
* @method ColorDistanceSensor#setPFExtendedChannel
|
||||||
|
* @param {number} channel Channel number, between 1-8
|
||||||
|
* @returns {Promise} Resolved upon successful issuance of the command.
|
||||||
|
*/
|
||||||
|
setPFExtendedChannel(channel) {
|
||||||
|
let address = 0;
|
||||||
|
if (channel >= 4) {
|
||||||
|
channel -= 4;
|
||||||
|
address = 1;
|
||||||
|
}
|
||||||
|
const message = Buffer.alloc(2);
|
||||||
|
// Send "Extended toggle address command"
|
||||||
|
message[0] = ((channel - 1) << 4) + (address << 3);
|
||||||
|
message[1] = 6 << 4;
|
||||||
|
return this.sendPFIRMessage(message);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Set the power of a Power Functions motor via IR
|
||||||
|
* @method ColorDistanceSensor#setPFPower
|
||||||
|
* @param {number} channel Channel number, between 1-4
|
||||||
|
* @param {string} output Outport port, "RED" (A) or "BLUE" (B)
|
||||||
|
* @param {number} power -7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.
|
||||||
|
* @returns {Promise} Resolved upon successful issuance of the command.
|
||||||
|
*/
|
||||||
|
setPFPower(channel, output, power) {
|
||||||
|
let address = 0;
|
||||||
|
if (channel > 4) {
|
||||||
|
channel -= 4;
|
||||||
|
address = 1;
|
||||||
|
}
|
||||||
|
const message = Buffer.alloc(2);
|
||||||
|
// Send "Single output mode"
|
||||||
|
message[0] = ((channel - 1) << 4) + (address << 3) + (output === "RED" ? 4 : 5);
|
||||||
|
message[1] = this._pfPowerToPWM(power) << 4;
|
||||||
|
return this.sendPFIRMessage(message);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Start Power Functions motors running via IR
|
||||||
|
*
|
||||||
|
* NOTE: This command is designed for bang-bang style operation. To keep the motors running, the sensor needs to be within range of the IR receiver constantly.
|
||||||
|
* @method ColorDistanceSensor#startPFMotors
|
||||||
|
* @param {Buffer} channel Channel number, between 1-4
|
||||||
|
* @param {Buffer} powerA -7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.
|
||||||
|
* @param {Buffer} powerB -7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.
|
||||||
|
* @returns {Promise} Resolved upon successful issuance of the command.
|
||||||
|
*/
|
||||||
|
startPFMotors(channel, powerBlue, powerRed) {
|
||||||
|
let address = 0;
|
||||||
|
if (channel > 4) {
|
||||||
|
channel -= 4;
|
||||||
|
address = 1;
|
||||||
|
}
|
||||||
|
const message = Buffer.alloc(2);
|
||||||
|
// Send "Combo PWM mode"
|
||||||
|
message[0] = (((channel - 1) + 4 + (address << 3)) << 4) + this._pfPowerToPWM(powerBlue);
|
||||||
|
message[1] = this._pfPowerToPWM(powerRed) << 4;
|
||||||
|
return this.sendPFIRMessage(message);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Send a raw Power Functions IR command
|
||||||
|
* @method ColorDistanceSensor#sendPFIRMessage
|
||||||
|
* @param {Buffer} message 2 byte payload making up a Power Functions protocol command. NOTE: Only specify nibbles 1-3, nibble 4 should be zeroed.
|
||||||
|
* @returns {Promise} Resolved upon successful issuance of the command.
|
||||||
|
*/
|
||||||
|
sendPFIRMessage(message) {
|
||||||
|
if (this.isWeDo2SmartHub) {
|
||||||
|
throw new Error("Power Functions IR is not available on the WeDo 2.0 Smart Hub");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
const payload = Buffer.alloc(2);
|
||||||
|
payload[0] = (message[0] << 4) + (message[1] >> 4);
|
||||||
|
payload[1] = message[0] >> 4;
|
||||||
|
this.subscribe(Mode.PF_IR);
|
||||||
|
return this.writeDirect(0x07, payload);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Set the color of the LED on the sensor via a color value.
|
||||||
|
* @method ColorDistanceSensor#setColor
|
||||||
|
* @param {Color} color
|
||||||
|
* @returns {Promise} Resolved upon successful issuance of the command.
|
||||||
|
*/
|
||||||
|
setColor(color) {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
if (color === false) {
|
||||||
|
color = 0;
|
||||||
|
}
|
||||||
|
if (this.isWeDo2SmartHub) {
|
||||||
|
throw new Error("Setting LED color is not available on the WeDo 2.0 Smart Hub");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
this.subscribe(Mode.LED);
|
||||||
|
this.writeDirect(0x05, Buffer.from([color]));
|
||||||
|
}
|
||||||
|
return resolve();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
_pfPowerToPWM(power) {
|
||||||
|
return power & 15;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
exports.ColorDistanceSensor = ColorDistanceSensor;
|
exports.ColorDistanceSensor = ColorDistanceSensor;
|
||||||
var Mode;
|
var Mode;
|
||||||
(function (Mode) {
|
(function (Mode) {
|
||||||
Mode[Mode["COLOR"] = 0] = "COLOR";
|
Mode[Mode["COLOR"] = 0] = "COLOR";
|
||||||
Mode[Mode["DISTANCE"] = 1] = "DISTANCE";
|
Mode[Mode["DISTANCE"] = 1] = "DISTANCE";
|
||||||
|
Mode[Mode["LED"] = 5] = "LED";
|
||||||
|
Mode[Mode["PF_IR"] = 7] = "PF_IR";
|
||||||
Mode[Mode["COLOR_AND_DISTANCE"] = 8] = "COLOR_AND_DISTANCE";
|
Mode[Mode["COLOR_AND_DISTANCE"] = 8] = "COLOR_AND_DISTANCE";
|
||||||
})(Mode = exports.Mode || (exports.Mode = {}));
|
})(Mode = exports.Mode || (exports.Mode = {}));
|
||||||
exports.ModeMap = {
|
exports.ModeMap = {
|
||||||
@ -163,6 +269,11 @@ exports.ModeMap = {
|
|||||||
"distance": Mode.DISTANCE,
|
"distance": Mode.DISTANCE,
|
||||||
"colorAndDistance": Mode.COLOR_AND_DISTANCE
|
"colorAndDistance": Mode.COLOR_AND_DISTANCE
|
||||||
};
|
};
|
||||||
|
var Output;
|
||||||
|
(function (Output) {
|
||||||
|
Output["RED"] = "RED";
|
||||||
|
Output["BLUE"] = "BLUE";
|
||||||
|
})(Output = exports.Output || (exports.Output = {}));
|
||||||
//# sourceMappingURL=colordistancesensor.js.map</pre>
|
//# sourceMappingURL=colordistancesensor.js.map</pre>
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
@ -208,7 +319,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -186,7 +186,7 @@ const MaxCurrentRaw = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -185,17 +185,17 @@ class Device extends events_1.EventEmitter {
|
|||||||
get isVirtualPort() {
|
get isVirtualPort() {
|
||||||
return this._isVirtualPort;
|
return this._isVirtualPort;
|
||||||
}
|
}
|
||||||
writeDirect(mode, data, callback) {
|
writeDirect(mode, data) {
|
||||||
if (this.isWeDo2SmartHub) {
|
if (this.isWeDo2SmartHub) {
|
||||||
this.send(Buffer.concat([Buffer.from([this.portId, 0x01, 0x02]), data]), Consts.BLECharacteristic.WEDO2_MOTOR_VALUE_WRITE);
|
return this.send(Buffer.concat([Buffer.from([this.portId, 0x01, 0x02]), data]), Consts.BLECharacteristic.WEDO2_MOTOR_VALUE_WRITE);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.send(Buffer.concat([Buffer.from([0x81, this.portId, 0x11, 0x51, mode]), data]), Consts.BLECharacteristic.LPF2_ALL, callback);
|
return this.send(Buffer.concat([Buffer.from([0x81, this.portId, 0x11, 0x51, mode]), data]), Consts.BLECharacteristic.LPF2_ALL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
send(data, characteristic = Consts.BLECharacteristic.LPF2_ALL, callback) {
|
send(data, characteristic = Consts.BLECharacteristic.LPF2_ALL) {
|
||||||
this._ensureConnected();
|
this._ensureConnected();
|
||||||
this.hub.send(data, characteristic, callback);
|
return this.hub.send(data, characteristic);
|
||||||
}
|
}
|
||||||
subscribe(mode) {
|
subscribe(mode) {
|
||||||
this._ensureConnected();
|
this._ensureConnected();
|
||||||
@ -285,7 +285,7 @@ exports.Device = Device;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -195,7 +195,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.DuploTrainBaseMotor = DuploTrainBaseMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -171,7 +171,7 @@ var Mode;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -165,7 +165,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -191,7 +191,7 @@ var Mode;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -177,7 +177,7 @@ exports.Light = Light;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.MediumLinearMotor = MediumLinearMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -169,7 +169,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.MoveHubMediumLinearMotor = MoveHubMediumLinearMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -167,7 +167,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -159,7 +159,7 @@ exports.PiezoBuzzer = PiezoBuzzer;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -171,7 +171,7 @@ exports.ButtonState = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.SimpleMediumLinearMotor = SimpleMediumLinearMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -254,7 +254,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -191,7 +191,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -189,7 +189,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -189,7 +189,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.TechnicLargeAngularMotor = TechnicLargeAngularMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.TechnicLargeLinearMotor = TechnicLargeLinearMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.TechnicMediumAngularMotor = TechnicMediumAngularMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -169,7 +169,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -169,7 +169,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -169,7 +169,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.TechnicXLargeLinearMotor = TechnicXLargeLinearMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -167,7 +167,7 @@ exports.ModeMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -143,7 +143,7 @@ exports.TrainMotor = TrainMotor;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -190,7 +190,7 @@ const MaxVoltageRaw = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -217,16 +217,13 @@ class BaseHub extends events_1.EventEmitter {
|
|||||||
* @returns {Promise} Resolved upon successful connect.
|
* @returns {Promise} Resolved upon successful connect.
|
||||||
*/
|
*/
|
||||||
connect() {
|
connect() {
|
||||||
return new Promise(async (connectResolve, connectReject) => {
|
if (this._bleDevice.connecting) {
|
||||||
if (this._bleDevice.connecting) {
|
throw new Error("Already connecting");
|
||||||
return connectReject("Already connecting");
|
}
|
||||||
}
|
else if (this._bleDevice.connected) {
|
||||||
else if (this._bleDevice.connected) {
|
throw new Error("Already connected");
|
||||||
return connectReject("Already connected");
|
}
|
||||||
}
|
return this._bleDevice.connect();
|
||||||
await this._bleDevice.connect();
|
|
||||||
return connectResolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Disconnect the Hub.
|
* Disconnect the Hub.
|
||||||
@ -353,10 +350,8 @@ class BaseHub extends events_1.EventEmitter {
|
|||||||
wait(commands) {
|
wait(commands) {
|
||||||
return Promise.all(commands);
|
return Promise.all(commands);
|
||||||
}
|
}
|
||||||
send(message, uuid, callback) {
|
send(message, uuid) {
|
||||||
if (callback) {
|
return Promise.resolve();
|
||||||
callback();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
subscribe(portId, deviceType, mode) {
|
subscribe(portId, deviceType, mode) {
|
||||||
// NK Do nothing here
|
// NK Do nothing here
|
||||||
@ -482,7 +477,7 @@ exports.BaseHub = BaseHub;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -182,7 +182,7 @@ exports.BoostMoveHub = BoostMoveHub;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -179,7 +179,7 @@ exports.ControlPlusHub = ControlPlusHub;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -109,13 +109,10 @@ class DuploTrainBase extends lpf2hub_1.LPF2Hub {
|
|||||||
super(device, exports.PortMap, Consts.HubType.DUPLO_TRAIN_BASE);
|
super(device, exports.PortMap, Consts.HubType.DUPLO_TRAIN_BASE);
|
||||||
debug("Discovered Duplo Train Base");
|
debug("Discovered Duplo Train Base");
|
||||||
}
|
}
|
||||||
connect() {
|
async connect() {
|
||||||
return new Promise(async (resolve, reject) => {
|
debug("Connecting to Duplo Train Base");
|
||||||
debug("Connecting to Duplo Train Base");
|
await super.connect();
|
||||||
await super.connect();
|
debug("Connect completed");
|
||||||
debug("Connect completed");
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.DuploTrainBase = DuploTrainBase;
|
exports.DuploTrainBase = DuploTrainBase;
|
||||||
@ -169,7 +166,7 @@ exports.PortMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -114,13 +114,10 @@ class Hub extends lpf2hub_1.LPF2Hub {
|
|||||||
peripheral.advertisement.manufacturerData.length > 3 &&
|
peripheral.advertisement.manufacturerData.length > 3 &&
|
||||||
peripheral.advertisement.manufacturerData[3] === Consts.BLEManufacturerData.HUB_ID);
|
peripheral.advertisement.manufacturerData[3] === Consts.BLEManufacturerData.HUB_ID);
|
||||||
}
|
}
|
||||||
connect() {
|
async connect() {
|
||||||
return new Promise(async (resolve, reject) => {
|
debug("Connecting to Powered UP Hub");
|
||||||
debug("Connecting to Powered UP Hub");
|
await super.connect();
|
||||||
await super.connect();
|
debug("Connect completed");
|
||||||
debug("Connect completed");
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
_checkFirmware(version) {
|
_checkFirmware(version) {
|
||||||
if (compare_versions_1.default("1.1.00.0004", version) === 1) {
|
if (compare_versions_1.default("1.1.00.0004", version) === 1) {
|
||||||
@ -181,7 +178,7 @@ exports.PortMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -102,23 +102,19 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
this._messageBuffer = Buffer.alloc(0);
|
this._messageBuffer = Buffer.alloc(0);
|
||||||
this._propertyRequestCallbacks = {};
|
this._propertyRequestCallbacks = {};
|
||||||
}
|
}
|
||||||
connect() {
|
async connect() {
|
||||||
return new Promise(async (resolve, reject) => {
|
debug("LPF2Hub connecting");
|
||||||
debug("LPF2Hub connecting");
|
await super.connect();
|
||||||
await super.connect();
|
await this._bleDevice.discoverCharacteristicsForService(Consts.BLEService.LPF2_HUB);
|
||||||
await this._bleDevice.discoverCharacteristicsForService(Consts.BLEService.LPF2_HUB);
|
this._bleDevice.subscribeToCharacteristic(Consts.BLECharacteristic.LPF2_ALL, this._parseMessage.bind(this));
|
||||||
this._bleDevice.subscribeToCharacteristic(Consts.BLECharacteristic.LPF2_ALL, this._parseMessage.bind(this));
|
await this._requestHubPropertyReports(0x02); // Activate button reports
|
||||||
await this.sleep(500);
|
await this._requestHubPropertyValue(0x03); // Request firmware version
|
||||||
this._requestHubPropertyReports(0x02); // Activate button reports
|
await this._requestHubPropertyValue(0x04); // Request hardware version
|
||||||
await this._requestHubPropertyValue(0x03); // Request firmware version
|
await this._requestHubPropertyReports(0x05); // Activate RSSI updates
|
||||||
await this._requestHubPropertyValue(0x04); // Request hardware version
|
await this._requestHubPropertyReports(0x06); // Activate battery level reports
|
||||||
this._requestHubPropertyReports(0x05); // Activate RSSI updates
|
await this._requestHubPropertyValue(0x0d); // Request primary MAC address
|
||||||
this._requestHubPropertyReports(0x06); // Activate battery level reports
|
this.emit("connect");
|
||||||
await this._requestHubPropertyValue(0x0d); // Request primary MAC address
|
debug("LPF2Hub connected");
|
||||||
this.emit("connect");
|
|
||||||
debug("LPF2Hub connected");
|
|
||||||
resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Shutdown the Hub.
|
* Shutdown the Hub.
|
||||||
@ -126,11 +122,7 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
* @returns {Promise} Resolved upon successful disconnect.
|
* @returns {Promise} Resolved upon successful disconnect.
|
||||||
*/
|
*/
|
||||||
shutdown() {
|
shutdown() {
|
||||||
return new Promise((resolve, reject) => {
|
return this.send(Buffer.from([0x02, 0x01]), Consts.BLECharacteristic.LPF2_ALL);
|
||||||
this.send(Buffer.from([0x02, 0x01]), Consts.BLECharacteristic.LPF2_ALL, () => {
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Set the name of the Hub.
|
* Set the name of the Hub.
|
||||||
@ -138,31 +130,28 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
* @param {string} name New name of the hub (14 characters or less, ASCII only).
|
* @param {string} name New name of the hub (14 characters or less, ASCII only).
|
||||||
* @returns {Promise} Resolved upon successful issuance of command.
|
* @returns {Promise} Resolved upon successful issuance of command.
|
||||||
*/
|
*/
|
||||||
setName(name) {
|
async setName(name) {
|
||||||
if (name.length > 14) {
|
if (name.length > 14) {
|
||||||
throw new Error("Name must be 14 characters or less");
|
throw new Error("Name must be 14 characters or less");
|
||||||
}
|
}
|
||||||
return new Promise((resolve, reject) => {
|
let data = Buffer.from([0x01, 0x01, 0x01]);
|
||||||
let data = Buffer.from([0x01, 0x01, 0x01]);
|
data = Buffer.concat([data, Buffer.from(name, "ascii")]);
|
||||||
data = Buffer.concat([data, Buffer.from(name, "ascii")]);
|
// Send this twice, as sometimes the first time doesn't take
|
||||||
// Send this twice, as sometimes the first time doesn't take
|
await this.send(data, Consts.BLECharacteristic.LPF2_ALL);
|
||||||
this.send(data, Consts.BLECharacteristic.LPF2_ALL);
|
await this.send(data, Consts.BLECharacteristic.LPF2_ALL);
|
||||||
this.send(data, Consts.BLECharacteristic.LPF2_ALL);
|
this._name = name;
|
||||||
this._name = name;
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
send(message, uuid, callback) {
|
send(message, uuid) {
|
||||||
message = Buffer.concat([Buffer.alloc(2), message]);
|
message = Buffer.concat([Buffer.alloc(2), message]);
|
||||||
message[0] = message.length;
|
message[0] = message.length;
|
||||||
debug("Sent Message (LPF2_ALL)", message);
|
debug("Sent Message (LPF2_ALL)", message);
|
||||||
this._bleDevice.writeToCharacteristic(uuid, message, callback);
|
return this._bleDevice.writeToCharacteristic(uuid, message);
|
||||||
}
|
}
|
||||||
subscribe(portId, deviceType, mode) {
|
subscribe(portId, deviceType, mode) {
|
||||||
this.send(Buffer.from([0x41, portId, mode, 0x01, 0x00, 0x00, 0x00, 0x01]), Consts.BLECharacteristic.LPF2_ALL);
|
return this.send(Buffer.from([0x41, portId, mode, 0x01, 0x00, 0x00, 0x00, 0x01]), Consts.BLECharacteristic.LPF2_ALL);
|
||||||
}
|
}
|
||||||
unsubscribe(portId, mode) {
|
unsubscribe(portId, mode) {
|
||||||
this.send(Buffer.from([0x41, portId, mode, 0x01, 0x00, 0x00, 0x00, 0x00]), Consts.BLECharacteristic.LPF2_ALL);
|
return this.send(Buffer.from([0x41, portId, mode, 0x01, 0x00, 0x00, 0x00, 0x00]), Consts.BLECharacteristic.LPF2_ALL);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Combines two ports with into a single virtual port.
|
* Combines two ports with into a single virtual port.
|
||||||
@ -185,7 +174,7 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
if (firstDevice.type !== secondDevice.type) {
|
if (firstDevice.type !== secondDevice.type) {
|
||||||
throw new Error(`Both devices must be of the same type to create a virtual port`);
|
throw new Error(`Both devices must be of the same type to create a virtual port`);
|
||||||
}
|
}
|
||||||
this.send(Buffer.from([0x61, 0x01, firstDevice.portId, secondDevice.portId]), Consts.BLECharacteristic.LPF2_ALL);
|
return this.send(Buffer.from([0x61, 0x01, firstDevice.portId, secondDevice.portId]), Consts.BLECharacteristic.LPF2_ALL);
|
||||||
}
|
}
|
||||||
_checkFirmware(version) {
|
_checkFirmware(version) {
|
||||||
return;
|
return;
|
||||||
@ -251,7 +240,7 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
_requestHubPropertyReports(property) {
|
_requestHubPropertyReports(property) {
|
||||||
this.send(Buffer.from([0x01, property, 0x02]), Consts.BLECharacteristic.LPF2_ALL);
|
return this.send(Buffer.from([0x01, property, 0x02]), Consts.BLECharacteristic.LPF2_ALL);
|
||||||
}
|
}
|
||||||
_parseHubPropertyResponse(message) {
|
_parseHubPropertyResponse(message) {
|
||||||
// Button press reports
|
// Button press reports
|
||||||
@ -301,7 +290,7 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_parsePortMessage(message) {
|
async _parsePortMessage(message) {
|
||||||
const portId = message[3];
|
const portId = message[3];
|
||||||
const event = message[4];
|
const event = message[4];
|
||||||
const deviceType = event ? message.readUInt16LE(5) : 0;
|
const deviceType = event ? message.readUInt16LE(5) : 0;
|
||||||
@ -313,7 +302,7 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
const hwVersion = utils_1.decodeVersion(message.readInt32LE(7));
|
const hwVersion = utils_1.decodeVersion(message.readInt32LE(7));
|
||||||
const swVersion = utils_1.decodeVersion(message.readInt32LE(11));
|
const swVersion = utils_1.decodeVersion(message.readInt32LE(11));
|
||||||
modeInfoDebug(`Port ${utils_1.toHex(portId)}, hardware version ${hwVersion}, software version ${swVersion}`);
|
modeInfoDebug(`Port ${utils_1.toHex(portId)}, hardware version ${hwVersion}, software version ${swVersion}`);
|
||||||
this._sendPortInformationRequest(portId);
|
await this._sendPortInformationRequest(portId);
|
||||||
}
|
}
|
||||||
const device = this._createDevice(deviceType, portId);
|
const device = this._createDevice(deviceType, portId);
|
||||||
this._attachDevice(device);
|
this._attachDevice(device);
|
||||||
@ -345,11 +334,11 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
this._attachDevice(device);
|
this._attachDevice(device);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_sendPortInformationRequest(port) {
|
async _sendPortInformationRequest(port) {
|
||||||
this.send(Buffer.from([0x21, port, 0x01]), Consts.BLECharacteristic.LPF2_ALL);
|
await this.send(Buffer.from([0x21, port, 0x01]), Consts.BLECharacteristic.LPF2_ALL);
|
||||||
this.send(Buffer.from([0x21, port, 0x02]), Consts.BLECharacteristic.LPF2_ALL); // Mode combinations
|
await this.send(Buffer.from([0x21, port, 0x02]), Consts.BLECharacteristic.LPF2_ALL); // Mode combinations
|
||||||
}
|
}
|
||||||
_parsePortInformationResponse(message) {
|
async _parsePortInformationResponse(message) {
|
||||||
const port = message[3];
|
const port = message[3];
|
||||||
if (message[4] === 2) {
|
if (message[4] === 2) {
|
||||||
const modeCombinationMasks = [];
|
const modeCombinationMasks = [];
|
||||||
@ -364,16 +353,16 @@ class LPF2Hub extends basehub_1.BaseHub {
|
|||||||
const output = utils_1.toBin(message.readUInt16LE(9), count);
|
const output = utils_1.toBin(message.readUInt16LE(9), count);
|
||||||
modeInfoDebug(`Port ${utils_1.toHex(port)}, total modes ${count}, input modes ${input}, output modes ${output}`);
|
modeInfoDebug(`Port ${utils_1.toHex(port)}, total modes ${count}, input modes ${input}, output modes ${output}`);
|
||||||
for (let i = 0; i < count; i++) {
|
for (let i = 0; i < count; i++) {
|
||||||
this._sendModeInformationRequest(port, i, 0x00); // Mode Name
|
await this._sendModeInformationRequest(port, i, 0x00); // Mode Name
|
||||||
this._sendModeInformationRequest(port, i, 0x01); // RAW Range
|
await this._sendModeInformationRequest(port, i, 0x01); // RAW Range
|
||||||
this._sendModeInformationRequest(port, i, 0x02); // PCT Range
|
await this._sendModeInformationRequest(port, i, 0x02); // PCT Range
|
||||||
this._sendModeInformationRequest(port, i, 0x03); // SI Range
|
await this._sendModeInformationRequest(port, i, 0x03); // SI Range
|
||||||
this._sendModeInformationRequest(port, i, 0x04); // SI Symbol
|
await this._sendModeInformationRequest(port, i, 0x04); // SI Symbol
|
||||||
this._sendModeInformationRequest(port, i, 0x80); // Value Format
|
await this._sendModeInformationRequest(port, i, 0x80); // Value Format
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_sendModeInformationRequest(port, mode, type) {
|
_sendModeInformationRequest(port, mode, type) {
|
||||||
this.send(Buffer.from([0x22, port, mode, type]), Consts.BLECharacteristic.LPF2_ALL);
|
return this.send(Buffer.from([0x22, port, mode, type]), Consts.BLECharacteristic.LPF2_ALL);
|
||||||
}
|
}
|
||||||
_parseModeInformationResponse(message) {
|
_parseModeInformationResponse(message) {
|
||||||
const port = utils_1.toHex(message[3]);
|
const port = utils_1.toHex(message[3]);
|
||||||
@ -467,7 +456,7 @@ exports.LPF2Hub = LPF2Hub;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -113,13 +113,10 @@ class MoveHub extends lpf2hub_1.LPF2Hub {
|
|||||||
super(device, exports.PortMap, Consts.HubType.MOVE_HUB);
|
super(device, exports.PortMap, Consts.HubType.MOVE_HUB);
|
||||||
debug("Discovered Move Hub");
|
debug("Discovered Move Hub");
|
||||||
}
|
}
|
||||||
connect() {
|
async connect() {
|
||||||
return new Promise(async (resolve, reject) => {
|
debug("Connecting to Move Hub");
|
||||||
debug("Connecting to Move Hub");
|
await super.connect();
|
||||||
await super.connect();
|
debug("Connect completed");
|
||||||
debug("Connect completed");
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
_checkFirmware(version) {
|
_checkFirmware(version) {
|
||||||
if (compare_versions_1.default("2.0.00.0017", version) === 1) {
|
if (compare_versions_1.default("2.0.00.0017", version) === 1) {
|
||||||
@ -183,7 +180,7 @@ exports.PortMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -179,7 +179,7 @@ exports.PUPHub = PUPHub;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -172,7 +172,7 @@ exports.PUPRemote = PUPRemote;
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -109,13 +109,10 @@ class RemoteControl extends lpf2hub_1.LPF2Hub {
|
|||||||
super(device, exports.PortMap, Consts.HubType.REMOTE_CONTROL);
|
super(device, exports.PortMap, Consts.HubType.REMOTE_CONTROL);
|
||||||
debug("Discovered Powered UP Remote");
|
debug("Discovered Powered UP Remote");
|
||||||
}
|
}
|
||||||
connect() {
|
async connect() {
|
||||||
return new Promise(async (resolve, reject) => {
|
debug("Connecting to Powered UP Remote");
|
||||||
debug("Connecting to Powered UP Remote");
|
await super.connect();
|
||||||
await super.connect();
|
debug("Connect completed");
|
||||||
debug("Connect completed");
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.RemoteControl = RemoteControl;
|
exports.RemoteControl = RemoteControl;
|
||||||
@ -171,7 +168,7 @@ exports.PortMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -109,14 +109,11 @@ class TechnicMediumHub extends lpf2hub_1.LPF2Hub {
|
|||||||
super(device, exports.PortMap, Consts.HubType.TECHNIC_MEDIUM_HUB);
|
super(device, exports.PortMap, Consts.HubType.TECHNIC_MEDIUM_HUB);
|
||||||
debug("Discovered Control+ Hub");
|
debug("Discovered Control+ Hub");
|
||||||
}
|
}
|
||||||
connect() {
|
async connect() {
|
||||||
return new Promise(async (resolve, reject) => {
|
debug("Connecting to Control+ Hub");
|
||||||
debug("Connecting to Control+ Hub");
|
await super.connect();
|
||||||
await super.connect();
|
await this.send(Buffer.from([0x41, 0x3d, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x01]), Consts.BLECharacteristic.LPF2_ALL); // Temperature
|
||||||
this.send(Buffer.from([0x41, 0x3d, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x01]), Consts.BLECharacteristic.LPF2_ALL); // Temperature
|
debug("Connect completed");
|
||||||
debug("Connect completed");
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.TechnicMediumHub = TechnicMediumHub;
|
exports.TechnicMediumHub = TechnicMediumHub;
|
||||||
@ -177,7 +174,7 @@ exports.PortMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -168,11 +168,7 @@ class WeDo2SmartHub extends basehub_1.BaseHub {
|
|||||||
* @returns {Promise} Resolved upon successful disconnect.
|
* @returns {Promise} Resolved upon successful disconnect.
|
||||||
*/
|
*/
|
||||||
shutdown() {
|
shutdown() {
|
||||||
return new Promise((resolve, reject) => {
|
return this.send(Buffer.from([0x00]), Consts.BLECharacteristic.WEDO2_DISCONNECT);
|
||||||
this.send(Buffer.from([0x00]), Consts.BLECharacteristic.WEDO2_DISCONNECT, () => {
|
|
||||||
return resolve();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Set the name of the Hub.
|
* Set the name of the Hub.
|
||||||
@ -193,11 +189,11 @@ class WeDo2SmartHub extends basehub_1.BaseHub {
|
|||||||
return resolve();
|
return resolve();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
send(message, uuid, callback) {
|
send(message, uuid) {
|
||||||
if (debug.enabled) {
|
if (debug.enabled) {
|
||||||
debug(`Sent Message (${this._getCharacteristicNameFromUUID(uuid)})`, message);
|
debug(`Sent Message (${this._getCharacteristicNameFromUUID(uuid)})`, message);
|
||||||
}
|
}
|
||||||
this._bleDevice.writeToCharacteristic(uuid, message, callback);
|
return this._bleDevice.writeToCharacteristic(uuid, message);
|
||||||
}
|
}
|
||||||
subscribe(portId, deviceType, mode) {
|
subscribe(portId, deviceType, mode) {
|
||||||
this.send(Buffer.from([0x01, 0x02, portId, deviceType, mode, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01]), Consts.BLECharacteristic.WEDO2_PORT_TYPE_WRITE);
|
this.send(Buffer.from([0x01, 0x02, portId, deviceType, mode, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01]), Consts.BLECharacteristic.WEDO2_PORT_TYPE_WRITE);
|
||||||
@ -323,7 +319,7 @@ exports.PortMap = {
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
@ -410,7 +410,7 @@ console.log("Scanning for Hubs...");
|
|||||||
<span class="jsdoc-message">
|
<span class="jsdoc-message">
|
||||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a>
|
||||||
|
|
||||||
on Mon Feb 24th 2020
|
on Sat Apr 4th 2020
|
||||||
|
|
||||||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
||||||
</span>
|
</span>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user