pca9685-promise
Version:
controls a PCA9685 (PWM/Servo driver) in node.js using async-i2c-bus.
682 lines • 40.8 kB
HTML
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>"index" | pca9685-promise</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">pca9685-promise</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../globals.html">Globals</a>
</li>
<li>
<a href="_index_.html">"index"</a>
</li>
</ul>
<h1>External module "index"</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Classes</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-class tsd-parent-kind-external-module"><a href="../classes/_index_.pca9685.html" class="tsd-kind-icon">PCA9685</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Interfaces</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-interface tsd-parent-kind-external-module"><a href="../interfaces/_index_.options.html" class="tsd-kind-icon">Options</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-not-exported">
<h3>Variables</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#ai" class="tsd-kind-icon">AI</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#allcall" class="tsd-kind-icon">ALLCALL</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#allcalladdr" class="tsd-kind-icon">ALLCALLADDR</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#all_led_off_h" class="tsd-kind-icon">ALL_<wbr>LED_<wbr>OFF_<wbr>H</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#all_led_off_l" class="tsd-kind-icon">ALL_<wbr>LED_<wbr>OFF_<wbr>L</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#all_led_on_h" class="tsd-kind-icon">ALL_<wbr>LED_<wbr>ON_<wbr>H</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#all_led_on_l" class="tsd-kind-icon">ALL_<wbr>LED_<wbr>ON_<wbr>L</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#default_address" class="tsd-kind-icon">DEFAULT_<wbr>ADDRESS</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#extclk" class="tsd-kind-icon">EXTCLK</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#invrt" class="tsd-kind-icon">INVRT</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#led0_off_h" class="tsd-kind-icon">LED0_<wbr>OFF_<wbr>H</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#led0_off_l" class="tsd-kind-icon">LED0_<wbr>OFF_<wbr>L</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#led0_on_h" class="tsd-kind-icon">LED0_<wbr>ON_<wbr>H</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#led0_on_l" class="tsd-kind-icon">LED0_<wbr>ON_<wbr>L</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#mode1" class="tsd-kind-icon">MODE1</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#mode2" class="tsd-kind-icon">MODE2</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#och" class="tsd-kind-icon">OCH</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#oscillator" class="tsd-kind-icon">OSCILLATOR</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#outdrv" class="tsd-kind-icon">OUTDRV</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#outne_hi" class="tsd-kind-icon">OUTNE_<wbr>HI</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#outne_off" class="tsd-kind-icon">OUTNE_<wbr>OFF</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#outne_on" class="tsd-kind-icon">OUTNE_<wbr>ON</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#prescale" class="tsd-kind-icon">PRESCALE</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#resolution" class="tsd-kind-icon">RESOLUTION</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#restart" class="tsd-kind-icon">RESTART</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#sleep" class="tsd-kind-icon">SLEEP</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#sub1" class="tsd-kind-icon">SUB1</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#sub2" class="tsd-kind-icon">SUB2</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#sub3" class="tsd-kind-icon">SUB3</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#subadr1" class="tsd-kind-icon">SUBADR1</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#subadr2" class="tsd-kind-icon">SUBADR2</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#subadr3" class="tsd-kind-icon">SUBADR3</a></li>
<li class="tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#test_mode" class="tsd-kind-icon">TEST_<wbr>MODE</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-not-exported">
<h3>Functions</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_index_.html#delay" class="tsd-kind-icon">delay</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
<h2>Variables</h2>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="ai" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> AI</h3>
<div class="tsd-signature tsd-kind-icon">AI<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">32</span><span class="tsd-signature-symbol"> = 32</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:29</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="allcall" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> ALLCALL</h3>
<div class="tsd-signature tsd-kind-icon">ALLCALL<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> = 1</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:34</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="allcalladdr" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> ALLCALLADDR</h3>
<div class="tsd-signature tsd-kind-icon">ALLCALLADDR<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">5</span><span class="tsd-signature-symbol"> = 5</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:14</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="all_led_off_h" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> ALL_<wbr>LED_<wbr>OFF_<wbr>H</h3>
<div class="tsd-signature tsd-kind-icon">ALL_<wbr>LED_<wbr>OFF_<wbr>H<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">253</span><span class="tsd-signature-symbol"> = 253</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:22</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="all_led_off_l" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> ALL_<wbr>LED_<wbr>OFF_<wbr>L</h3>
<div class="tsd-signature tsd-kind-icon">ALL_<wbr>LED_<wbr>OFF_<wbr>L<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">252</span><span class="tsd-signature-symbol"> = 252</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:21</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="all_led_on_h" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> ALL_<wbr>LED_<wbr>ON_<wbr>H</h3>
<div class="tsd-signature tsd-kind-icon">ALL_<wbr>LED_<wbr>ON_<wbr>H<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">251</span><span class="tsd-signature-symbol"> = 251</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:20</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="all_led_on_l" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> ALL_<wbr>LED_<wbr>ON_<wbr>L</h3>
<div class="tsd-signature tsd-kind-icon">ALL_<wbr>LED_<wbr>ON_<wbr>L<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">250</span><span class="tsd-signature-symbol"> = 250</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:19</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="default_address" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> DEFAULT_<wbr>ADDRESS</h3>
<div class="tsd-signature tsd-kind-icon">DEFAULT_<wbr>ADDRESS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">64</span><span class="tsd-signature-symbol"> = 64</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:7</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="extclk" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> EXTCLK</h3>
<div class="tsd-signature tsd-kind-icon">EXTCLK<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">64</span><span class="tsd-signature-symbol"> = 64</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:28</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="invrt" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> INVRT</h3>
<div class="tsd-signature tsd-kind-icon">INVRT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">16</span><span class="tsd-signature-symbol"> = 16</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:36</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="led0_off_h" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> LED0_<wbr>OFF_<wbr>H</h3>
<div class="tsd-signature tsd-kind-icon">LED0_<wbr>OFF_<wbr>H<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">9</span><span class="tsd-signature-symbol"> = 9</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:18</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="led0_off_l" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> LED0_<wbr>OFF_<wbr>L</h3>
<div class="tsd-signature tsd-kind-icon">LED0_<wbr>OFF_<wbr>L<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">8</span><span class="tsd-signature-symbol"> = 8</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:17</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="led0_on_h" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> LED0_<wbr>ON_<wbr>H</h3>
<div class="tsd-signature tsd-kind-icon">LED0_<wbr>ON_<wbr>H<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">7</span><span class="tsd-signature-symbol"> = 7</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:16</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="led0_on_l" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> LED0_<wbr>ON_<wbr>L</h3>
<div class="tsd-signature tsd-kind-icon">LED0_<wbr>ON_<wbr>L<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">6</span><span class="tsd-signature-symbol"> = 6</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:15</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="mode1" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> MODE1</h3>
<div class="tsd-signature tsd-kind-icon">MODE1<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:9</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="mode2" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> MODE2</h3>
<div class="tsd-signature tsd-kind-icon">MODE2<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> = 1</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:10</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="och" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> OCH</h3>
<div class="tsd-signature tsd-kind-icon">OCH<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">8</span><span class="tsd-signature-symbol"> = 8</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:37</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="oscillator" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> OSCILLATOR</h3>
<div class="tsd-signature tsd-kind-icon">OSCILLATOR<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">25000000</span><span class="tsd-signature-symbol"> = 25000000</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:44</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="outdrv" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> OUTDRV</h3>
<div class="tsd-signature tsd-kind-icon">OUTDRV<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">4</span><span class="tsd-signature-symbol"> = 4</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:38</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="outne_hi" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> OUTNE_<wbr>HI</h3>
<div class="tsd-signature tsd-kind-icon">OUTNE_<wbr>HI<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">16</span><span class="tsd-signature-symbol"> = 16</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:41</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="outne_off" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> OUTNE_<wbr>OFF</h3>
<div class="tsd-signature tsd-kind-icon">OUTNE_<wbr>OFF<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:39</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="outne_on" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> OUTNE_<wbr>ON</h3>
<div class="tsd-signature tsd-kind-icon">OUTNE_<wbr>ON<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> = 1</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:40</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="prescale" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> PRESCALE</h3>
<div class="tsd-signature tsd-kind-icon">PRESCALE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">254</span><span class="tsd-signature-symbol"> = 254</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:23</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="resolution" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> RESOLUTION</h3>
<div class="tsd-signature tsd-kind-icon">RESOLUTION<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">4096</span><span class="tsd-signature-symbol"> = 4096</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:45</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="restart" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> RESTART</h3>
<div class="tsd-signature tsd-kind-icon">RESTART<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">128</span><span class="tsd-signature-symbol"> = 128</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:27</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="sleep" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> SLEEP</h3>
<div class="tsd-signature tsd-kind-icon">SLEEP<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">16</span><span class="tsd-signature-symbol"> = 16</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:30</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="sub1" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> SUB1</h3>
<div class="tsd-signature tsd-kind-icon">SUB1<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">8</span><span class="tsd-signature-symbol"> = 8</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:31</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="sub2" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> SUB2</h3>
<div class="tsd-signature tsd-kind-icon">SUB2<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">4</span><span class="tsd-signature-symbol"> = 4</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:32</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="sub3" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> SUB3</h3>
<div class="tsd-signature tsd-kind-icon">SUB3<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span><span class="tsd-signature-symbol"> = 2</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:33</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="subadr1" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> SUBADR1</h3>
<div class="tsd-signature tsd-kind-icon">SUBADR1<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span><span class="tsd-signature-symbol"> = 2</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:11</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="subadr2" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> SUBADR2</h3>
<div class="tsd-signature tsd-kind-icon">SUBADR2<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> = 3</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:12</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="subadr3" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> SUBADR3</h3>
<div class="tsd-signature tsd-kind-icon">SUBADR3<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">4</span><span class="tsd-signature-symbol"> = 4</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:13</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a name="test_mode" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> TEST_<wbr>MODE</h3>
<div class="tsd-signature tsd-kind-icon">TEST_<wbr>MODE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">255</span><span class="tsd-signature-symbol"> = 255</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:24</li>
</ul>
</aside>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-not-exported">
<h2>Functions</h2>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a name="delay" class="tsd-anchor"></a>
<h3>delay</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<li class="tsd-signature tsd-kind-icon">delay<span class="tsd-signature-symbol">(</span>millis<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in index.ts:47</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>millis: <span class="tsd-signature-type">number</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../globals.html"><em>Globals</em></a>
</li>
<li class="current tsd-kind-external-module">
<a href="_index_.html">"index"</a>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
<li class=" tsd-kind-class tsd-parent-kind-external-module">
<a href="../classes/_index_.pca9685.html" class="tsd-kind-icon">PCA9685</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/_index_.options.html" class="tsd-kind-icon">Options</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#ai" class="tsd-kind-icon">AI</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#allcall" class="tsd-kind-icon">ALLCALL</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#allcalladdr" class="tsd-kind-icon">ALLCALLADDR</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#all_led_off_h" class="tsd-kind-icon">ALL_<wbr>LED_<wbr>OFF_<wbr>H</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#all_led_off_l" class="tsd-kind-icon">ALL_<wbr>LED_<wbr>OFF_<wbr>L</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#all_led_on_h" class="tsd-kind-icon">ALL_<wbr>LED_<wbr>ON_<wbr>H</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#all_led_on_l" class="tsd-kind-icon">ALL_<wbr>LED_<wbr>ON_<wbr>L</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#default_address" class="tsd-kind-icon">DEFAULT_<wbr>ADDRESS</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#extclk" class="tsd-kind-icon">EXTCLK</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#invrt" class="tsd-kind-icon">INVRT</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#led0_off_h" class="tsd-kind-icon">LED0_<wbr>OFF_<wbr>H</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#led0_off_l" class="tsd-kind-icon">LED0_<wbr>OFF_<wbr>L</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#led0_on_h" class="tsd-kind-icon">LED0_<wbr>ON_<wbr>H</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#led0_on_l" class="tsd-kind-icon">LED0_<wbr>ON_<wbr>L</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#mode1" class="tsd-kind-icon">MODE1</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#mode2" class="tsd-kind-icon">MODE2</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#och" class="tsd-kind-icon">OCH</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#oscillator" class="tsd-kind-icon">OSCILLATOR</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#outdrv" class="tsd-kind-icon">OUTDRV</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#outne_hi" class="tsd-kind-icon">OUTNE_<wbr>HI</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#outne_off" class="tsd-kind-icon">OUTNE_<wbr>OFF</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#outne_on" class="tsd-kind-icon">OUTNE_<wbr>ON</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#prescale" class="tsd-kind-icon">PRESCALE</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#resolution" class="tsd-kind-icon">RESOLUTION</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#restart" class="tsd-kind-icon">RESTART</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#sleep" class="tsd-kind-icon">SLEEP</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#sub1" class="tsd-kind-icon">SUB1</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#sub2" class="tsd-kind-icon">SUB2</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#sub3" class="tsd-kind-icon">SUB3</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#subadr1" class="tsd-kind-icon">SUBADR1</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#subadr2" class="tsd-kind-icon">SUBADR2</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#subadr3" class="tsd-kind-icon">SUBADR3</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#test_mode" class="tsd-kind-icon">TEST_<wbr>MODE</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="_index_.html#delay" class="tsd-kind-icon">delay</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
</ul>
</div>
</div>
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html>