mirror of
https://github.com/kou029w/megabit.git
synced 2025-01-30 21:58:04 +00:00
update docs
This commit is contained in:
parent
a7a5d1111e
commit
e7982e085f
8 changed files with 376 additions and 59 deletions
File diff suppressed because one or more lines are too long
|
@ -733,7 +733,7 @@
|
|||
<aside class="tsd-sources">
|
||||
<p>Overrides <a href="gpioport.html">GPIOPort</a>.<a href="gpioport.html#read">read</a></p>
|
||||
<ul>
|
||||
<li>Defined in src/gpio.ts:12</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/gpio.ts#L12">src/gpio.ts:12</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../globals.html#gpiovalue" class="tsd-signature-type">GPIOValue</a><span class="tsd-signature-symbol">></span></h4>
|
||||
|
@ -865,7 +865,7 @@
|
|||
<aside class="tsd-sources">
|
||||
<p>Overrides <a href="gpioport.html">GPIOPort</a>.<a href="gpioport.html#write">write</a></p>
|
||||
<ul>
|
||||
<li>Defined in src/gpio.ts:25</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/gpio.ts#L25">src/gpio.ts:25</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
|
|
305
docs/classes/i2c.html
Normal file
305
docs/classes/i2c.html
Normal file
|
@ -0,0 +1,305 @@
|
|||
<!doctype html>
|
||||
<html class="default no-js">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>I2C | megabit</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">megabit</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-externals" checked />
|
||||
<label class="tsd-widget" for="tsd-filter-externals">Externals</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="i2c.html">I2C</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h1>Class I2C</h1>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="container container-main">
|
||||
<div class="row">
|
||||
<div class="col-8 col-content">
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h3>Hierarchy</h3>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li>
|
||||
<a href="i2cport.html" class="tsd-signature-type">I2CPort</a>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li>
|
||||
<span class="target">I2C</span>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<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 tsd-is-inherited">
|
||||
<h3>Constructors</h3>
|
||||
<ul class="tsd-index-list">
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a href="i2c.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-index-section tsd-is-inherited">
|
||||
<h3>Accessors</h3>
|
||||
<ul class="tsd-index-list">
|
||||
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="i2c.html#portname" class="tsd-kind-icon">port<wbr>Name</a></li>
|
||||
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="i2c.html#portnumber" class="tsd-kind-icon">port<wbr>Number</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-index-section tsd-is-inherited">
|
||||
<h3>Methods</h3>
|
||||
<ul class="tsd-index-list">
|
||||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="i2c.html#open" class="tsd-kind-icon">open</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
||||
<a name="constructor" class="tsd-anchor"></a>
|
||||
<h3>constructor</h3>
|
||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-kind-icon">new <wbr>I2C<span class="tsd-signature-symbol">(</span>portNumber<span class="tsd-signature-symbol">: </span><a href="../globals.html#portnumber" class="tsd-signature-type">PortNumber</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="i2c.html" class="tsd-signature-type">I2C</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="i2cport.html">I2CPort</a>.<a href="i2cport.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/node-web-i2c/index.ts:39</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5>portNumber: <a href="../globals.html#portnumber" class="tsd-signature-type">PortNumber</a></h5>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="i2c.html" class="tsd-signature-type">I2C</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
|
||||
<h2>Accessors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||||
<a name="portname" class="tsd-anchor"></a>
|
||||
<h3>port<wbr>Name</h3>
|
||||
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> portName<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="i2cport.html">I2CPort</a>.<a href="i2cport.html#portname">portName</a></p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/node-web-i2c/index.ts:49</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||||
<a name="portnumber" class="tsd-anchor"></a>
|
||||
<h3>port<wbr>Number</h3>
|
||||
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> portNumber<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="i2cport.html">I2CPort</a>.<a href="i2cport.html#portnumber">portNumber</a></p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/node-web-i2c/index.ts:45</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||||
<a name="open" class="tsd-anchor"></a>
|
||||
<h3>open</h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||||
<li class="tsd-signature tsd-kind-icon">open<span class="tsd-signature-symbol">(</span>slaveAddress<span class="tsd-signature-symbol">: </span><a href="../globals.html#i2cslaveaddress" class="tsd-signature-type">I2CSlaveAddress</a><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><a href="../interfaces/i2cslavedevice.html" class="tsd-signature-type">I2CSlaveDevice</a><span class="tsd-signature-symbol">></span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<p>Inherited from <a href="i2cport.html">I2CPort</a>.<a href="i2cport.html#open">open</a></p>
|
||||
<ul>
|
||||
<li>Defined in node_modules/node-web-i2c/index.ts:53</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5>slaveAddress: <a href="../globals.html#i2cslaveaddress" class="tsd-signature-type">I2CSlaveAddress</a></h5>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/i2cslavedevice.html" class="tsd-signature-type">I2CSlaveDevice</a><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>
|
||||
</ul>
|
||||
</nav>
|
||||
<nav class="tsd-navigation secondary menu-sticky">
|
||||
<ul class="before-current">
|
||||
</ul>
|
||||
<ul class="current">
|
||||
<li class="current tsd-kind-class">
|
||||
<a href="i2c.html" class="tsd-kind-icon">I2C</a>
|
||||
<ul>
|
||||
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
||||
<a href="i2c.html#constructor" class="tsd-kind-icon">constructor</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||||
<a href="i2c.html#portname" class="tsd-kind-icon">port<wbr>Name</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||||
<a href="i2c.html#portnumber" class="tsd-kind-icon">port<wbr>Number</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||||
<a href="i2c.html#open" class="tsd-kind-icon">open</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="after-current">
|
||||
</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>
|
||||
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</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="https://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>
|
|
@ -71,6 +71,11 @@
|
|||
<ul class="tsd-hierarchy">
|
||||
<li>
|
||||
<span class="target">I2CPort</span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li>
|
||||
<a href="i2c.html" class="tsd-signature-type">I2C</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
<li class="tsd-kind-class tsd-is-external"><a href="classes/gpioaccess.html" class="tsd-kind-icon">GPIOAccess</a></li>
|
||||
<li class="tsd-kind-class tsd-is-external"><a href="classes/gpioport.html" class="tsd-kind-icon">GPIOPort</a></li>
|
||||
<li class="tsd-kind-class tsd-is-external"><a href="classes/gpioportmap.html" class="tsd-kind-icon">GPIOPort<wbr>Map</a></li>
|
||||
<li class="tsd-kind-class"><a href="classes/i2c.html" class="tsd-kind-icon">I2C</a></li>
|
||||
<li class="tsd-kind-class tsd-is-external"><a href="classes/i2caccess.html" class="tsd-kind-icon">I2CAccess</a></li>
|
||||
<li class="tsd-kind-class tsd-is-external"><a href="classes/i2cport.html" class="tsd-kind-icon">I2CPort</a></li>
|
||||
<li class="tsd-kind-class tsd-is-external"><a href="classes/i2cportmap.html" class="tsd-kind-icon">I2CPort<wbr>Map</a></li>
|
||||
|
@ -155,7 +156,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">Acceleration<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/adxl345.ts:6</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/adxl345.ts#L6">src/adxl345.ts:6</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -172,7 +173,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">Channel<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">2</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">4</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">5</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">6</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">7</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">8</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">9</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">10</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">11</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">12</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">13</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">14</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">15</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/pca9685.ts:5</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/pca9685.ts#L5">src/pca9685.ts:5</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
|
@ -182,7 +183,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">Direction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">""</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"right"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"left"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"up"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"down"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"forward"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"back"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"clockwise"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"counterclockwise"</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/paj7620.ts:5</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/paj7620.ts#L5">src/paj7620.ts:5</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
|
@ -202,8 +203,8 @@
|
|||
<div class="tsd-signature tsd-kind-icon">Distance<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/gp2y0e03.ts:6</li>
|
||||
<li>Defined in src/vl53l0x.ts:9</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/gp2y0e03.ts#L6">src/gp2y0e03.ts:6</a></li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/vl53l0x.ts#L9">src/vl53l0x.ts:9</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -223,7 +224,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">Enable<wbr>Long<wbr>Range<wbr>Mode<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Boolean</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/vl53l0x.ts:6</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/vl53l0x.ts#L6">src/vl53l0x.ts:6</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -241,7 +242,7 @@
|
|||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in node_modules/node-web-gpio/index.ts:28</li>
|
||||
<li>Defined in src/gpio.ts:9</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/gpio.ts#L9">src/gpio.ts:9</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
</section>
|
||||
|
@ -261,7 +262,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">Illuminance<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/tsl2561.ts:6</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/tsl2561.ts#L6">src/tsl2561.ts:6</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -310,7 +311,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">RGB<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/s11059.ts:6</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/s11059.ts#L6">src/s11059.ts:6</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -327,7 +328,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">Temperature<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/adt7410.ts:6</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/adt7410.ts#L6">src/adt7410.ts:6</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -344,7 +345,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">Touched<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">]</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/mpr121.ts:6</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/mpr121.ts#L6">src/mpr121.ts:6</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -361,7 +362,7 @@
|
|||
<div class="tsd-signature tsd-kind-icon">UVA<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/veml6070.ts:6</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/veml6070.ts#L6">src/veml6070.ts:6</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -438,19 +439,19 @@
|
|||
<a name="ads1015" class="tsd-anchor"></a>
|
||||
<h3>ads1015</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">ads1015<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, channel<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">2</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">ads1015<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, channel<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">0</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">1</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">2</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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 src/ads1015.ts:5</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/ads1015.ts#L5">src/ads1015.ts:5</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 72</span></h5>
|
||||
|
@ -467,19 +468,19 @@
|
|||
<a name="adt7410" class="tsd-anchor"></a>
|
||||
<h3>adt7410</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">adt7410<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">adt7410<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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 src/adt7410.ts:8</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/adt7410.ts#L8">src/adt7410.ts:8</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 72</span></h5>
|
||||
|
@ -493,19 +494,19 @@
|
|||
<a name="adxl345" class="tsd-anchor"></a>
|
||||
<h3>adxl345</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">adxl345<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#acceleration" class="tsd-signature-type">Acceleration</a><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">adxl345<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#acceleration" class="tsd-signature-type">Acceleration</a><span class="tsd-signature-symbol">></span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/adxl345.ts:8</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/adxl345.ts#L8">src/adxl345.ts:8</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 83</span></h5>
|
||||
|
@ -519,19 +520,19 @@
|
|||
<a name="gp2y0e03" class="tsd-anchor"></a>
|
||||
<h3>gp2y0e03</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">gp2y0e03<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">gp2y0e03<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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 src/gp2y0e03.ts:8</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/gp2y0e03.ts#L8">src/gp2y0e03.ts:8</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 64</span></h5>
|
||||
|
@ -545,13 +546,13 @@
|
|||
<a name="gpio" class="tsd-anchor"></a>
|
||||
<h3>gpio</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">gpio<span class="tsd-signature-symbol">(</span>pin<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><a href="classes/gpioport.html" class="tsd-signature-type">GPIOPort</a></li>
|
||||
<li class="tsd-signature tsd-kind-icon">gpio<span class="tsd-signature-symbol">(</span>pin<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><a href="classes/gpio.html" class="tsd-signature-type">GPIO</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/gpio.ts:39</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/gpio.ts#L39">src/gpio.ts:39</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
|
@ -560,7 +561,7 @@
|
|||
<h5>pin: <span class="tsd-signature-type">number</span></h5>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="classes/gpioport.html" class="tsd-signature-type">GPIOPort</a></h4>
|
||||
<h4 class="tsd-returns-title">Returns <a href="classes/gpio.html" class="tsd-signature-type">GPIO</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -568,13 +569,13 @@
|
|||
<a name="i2c" class="tsd-anchor"></a>
|
||||
<h3>i2c</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">i2c<span class="tsd-signature-symbol">(</span>bus<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><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a></li>
|
||||
<li class="tsd-signature tsd-kind-icon">i2c<span class="tsd-signature-symbol">(</span>bus<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><a href="classes/i2c.html" class="tsd-signature-type">I2C</a></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/i2c.ts:5</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/i2c.ts#L7">src/i2c.ts:7</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
|
@ -583,7 +584,7 @@
|
|||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a></h4>
|
||||
<h4 class="tsd-returns-title">Returns <a href="classes/i2c.html" class="tsd-signature-type">I2C</a></h4>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -591,19 +592,19 @@
|
|||
<a name="mpr121" class="tsd-anchor"></a>
|
||||
<h3>mpr121</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">mpr121<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#touched" class="tsd-signature-type">Touched</a><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">mpr121<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#touched" class="tsd-signature-type">Touched</a><span class="tsd-signature-symbol">></span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/mpr121.ts:21</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/mpr121.ts#L21">src/mpr121.ts:21</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 90</span></h5>
|
||||
|
@ -617,19 +618,19 @@
|
|||
<a name="paj7620" class="tsd-anchor"></a>
|
||||
<h3>paj7620</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">paj7620<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#direction" class="tsd-signature-type">Direction</a><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">paj7620<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#direction" class="tsd-signature-type">Direction</a><span class="tsd-signature-symbol">></span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/paj7620.ts:16</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/paj7620.ts#L16">src/paj7620.ts:16</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 115</span></h5>
|
||||
|
@ -666,13 +667,13 @@
|
|||
<a name="pca9685" class="tsd-anchor"></a>
|
||||
<h3>pca9685</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">pca9685<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, channel<span class="tsd-signature-symbol">?: </span><a href="globals.html#channel" class="tsd-signature-type">Channel</a>, minPulse<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span>, maxPulse<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span>, angleRange<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><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><a href="interfaces/writabledevice.html" class="tsd-signature-type">WritableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">pca9685<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, channel<span class="tsd-signature-symbol">?: </span><a href="globals.html#channel" class="tsd-signature-type">Channel</a>, minPulse<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span>, maxPulse<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span>, angleRange<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><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><a href="interfaces/writabledevice.html" class="tsd-signature-type">WritableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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 src/pca9685.ts:28</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/pca9685.ts#L28">src/pca9685.ts:28</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -680,7 +681,7 @@
|
|||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 64</span></h5>
|
||||
|
@ -749,19 +750,19 @@
|
|||
<a name="s11059" class="tsd-anchor"></a>
|
||||
<h3>s11059</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">s11059<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#rgb" class="tsd-signature-type">RGB</a><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">s11059<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#rgb" class="tsd-signature-type">RGB</a><span class="tsd-signature-symbol">></span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/s11059.ts:8</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/s11059.ts#L8">src/s11059.ts:8</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 42</span></h5>
|
||||
|
@ -775,19 +776,19 @@
|
|||
<a name="ssd1308" class="tsd-anchor"></a>
|
||||
<h3>ssd1308</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">ssd1308<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<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><a href="interfaces/writabledevice.html" class="tsd-signature-type">WritableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">ssd1308<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<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><a href="interfaces/writabledevice.html" class="tsd-signature-type">WritableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</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 src/ssd1308.ts:5</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/ssd1308.ts#L5">src/ssd1308.ts:5</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 60</span></h5>
|
||||
|
@ -801,19 +802,19 @@
|
|||
<a name="tsl2561" class="tsd-anchor"></a>
|
||||
<h3>tsl2561</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">tsl2561<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#illuminance" class="tsd-signature-type">Illuminance</a><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">tsl2561<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<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><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#illuminance" class="tsd-signature-type">Illuminance</a><span class="tsd-signature-symbol">></span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/tsl2561.ts:8</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/tsl2561.ts#L8">src/tsl2561.ts:8</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 41</span></h5>
|
||||
|
@ -827,13 +828,13 @@
|
|||
<a name="veml6070" class="tsd-anchor"></a>
|
||||
<h3>veml6070</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">veml6070<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">veml6070<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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 src/veml6070.ts:9</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/veml6070.ts#L9">src/veml6070.ts:9</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -844,7 +845,7 @@
|
|||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4>
|
||||
|
@ -855,13 +856,13 @@
|
|||
<a name="vl53l0x" class="tsd-anchor"></a>
|
||||
<h3>vl53l0x</h3>
|
||||
<ul class="tsd-signatures tsd-kind-function">
|
||||
<li class="tsd-signature tsd-kind-icon">vl53l0x<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a>, address<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, enableLongRangeMode<span class="tsd-signature-symbol">?: </span><a href="globals.html#enablelongrangemode" class="tsd-signature-type">EnableLongRangeMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#distance" class="tsd-signature-type">Distance</a><span class="tsd-signature-symbol">></span></li>
|
||||
<li class="tsd-signature tsd-kind-icon">vl53l0x<span class="tsd-signature-symbol">(</span>bus<span class="tsd-signature-symbol">?: </span><a href="classes/i2c.html" class="tsd-signature-type">I2C</a>, address<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, enableLongRangeMode<span class="tsd-signature-symbol">?: </span><a href="globals.html#enablelongrangemode" class="tsd-signature-type">EnableLongRangeMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="interfaces/readabledevice.html" class="tsd-signature-type">ReadableDevice</a><span class="tsd-signature-symbol"><</span><a href="globals.html#distance" class="tsd-signature-type">Distance</a><span class="tsd-signature-symbol">></span></li>
|
||||
</ul>
|
||||
<ul class="tsd-descriptions">
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/vl53l0x.ts:12</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/vl53l0x.ts#L12">src/vl53l0x.ts:12</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
|
@ -872,7 +873,7 @@
|
|||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2cport.html" class="tsd-signature-type">I2CPort</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> bus: <a href="classes/i2c.html" class="tsd-signature-type">I2C</a><span class="tsd-signature-symbol"> = i2c()</span></h5>
|
||||
</li>
|
||||
<li>
|
||||
<h5><span class="tsd-flag ts-flagDefault value">Default value</span> address: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 41</span></h5>
|
||||
|
@ -909,6 +910,9 @@
|
|||
<li class=" tsd-kind-class tsd-is-external">
|
||||
<a href="classes/gpioportmap.html" class="tsd-kind-icon">GPIOPort<wbr>Map</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-class">
|
||||
<a href="classes/i2c.html" class="tsd-kind-icon">I2C</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-class tsd-is-external">
|
||||
<a href="classes/i2caccess.html" class="tsd-kind-icon">I2CAccess</a>
|
||||
</li>
|
||||
|
|
|
@ -126,6 +126,9 @@ measure();</code></pre>
|
|||
<li class=" tsd-kind-class tsd-is-external">
|
||||
<a href="classes/gpioportmap.html" class="tsd-kind-icon">GPIOPort<wbr>Map</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-class">
|
||||
<a href="classes/i2c.html" class="tsd-kind-icon">I2C</a>
|
||||
</li>
|
||||
<li class=" tsd-kind-class tsd-is-external">
|
||||
<a href="classes/i2caccess.html" class="tsd-kind-icon">I2CAccess</a>
|
||||
</li>
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/Device.ts:4</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/Device.ts#L4">src/Device.ts:4</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">></span></h4>
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/Device.ts:8</li>
|
||||
<li>Defined in <a href="https://github.com/kou029w/megabit/blob/a7a5d11/src/Device.ts#L8">src/Device.ts:8</a></li>
|
||||
</ul>
|
||||
</aside>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
|
|
Loading…
Add table
Reference in a new issue