diff --git a/docs/classes/GPIOAccess.html b/docs/classes/GPIOAccess.html index e32dffe..65515a4 100644 --- a/docs/classes/GPIOAccess.html +++ b/docs/classes/GPIOAccess.html @@ -1,12 +1,12 @@
Creates an instance of GPIOAccess.
ポート番号
-ポート
-GPIO チェンジイベントハンドラ
Sets or gets the default captureRejection value for all emitters.
@@ -17,7 +17,7 @@ events. Listeners installed using this symbol are called before the regularInstalling a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
ポート情報取得処理
現在のポート情報
emitter.setMaxListeners()
method allows the limit
modified for this specific EventEmitter
instance. The value can be set toInfinity
(or 0
) to indicate an unlimited number of listeners.
Returns a reference to the EventEmitter
, so that calls can be chained.
Unexport all exported GPIO ports. 全てのポート開放をする
ポート開放結果
diff --git a/docs/classes/GPIOPort.html b/docs/classes/GPIOPort.html index 25a02b8..532a66b 100644 --- a/docs/classes/GPIOPort.html +++ b/docs/classes/GPIOPort.html @@ -1,24 +1,24 @@GPIO ポート
-Creates an instance of GPIOPort.
ポート番号
-入出力方向
-エクスポートリトライ回数
-エクスポート
-ポーリング間隔
-ポート番号
-タイムアウト値
-入出力値
-GPIO チェンジイベントハンドラ
Sets or gets the default captureRejection value for all emitters.
@@ -29,19 +29,19 @@ events. Listeners installed using this symbol are called before the regularInstalling a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
GPIO 入出力方向 getter
現在のGPIO 入出力方向
-GPIO export の有無 getter
現在のGPIO 出力
-ピン名取得処理
現在のピン名
-ポート名取得処理
現在のポート名
-ポート番号取得処理
現在のポート番号
Symbol
s.
const EventEmitter = require('events');
const myEE = new EventEmitter();
myEE.on('foo', () => {});
myEE.on('bar', () => {});
const sym = Symbol('symbol');
myEE.on(sym, () => {});
console.log(myEE.eventNames());
// Prints: [ 'foo', 'bar', Symbol(symbol) ]
GPIO 出力処理
GPIO 入出力方向
@@ -144,7 +144,7 @@ including any wrappers (such as those created by.once()
).
const emitter = new EventEmitter();
emitter.once('log', () => console.log('log once'));
// Returns a new Array with a function `onceWrapper` which has a property
// `listener` which contains the original listener bound above
const listeners = emitter.rawListeners('log');
const logFnWrapper = listeners[0];
// Logs "log once" to the console and does not unbind the `once` event
logFnWrapper.listener();
// Logs "log once" to the console and removes the listener
logFnWrapper();
emitter.on('log', () => console.log('log persistently'));
// Will return a new Array with a single function bound by `.on()` above
const newListeners = emitter.rawListeners('log');
// Logs "log persistently" twice
newListeners[0]();
emitter.emit('log');
入力値読み取り処理
読み取り処理の完了
emitter.setMaxListeners()
method allows the limit
modified for this specific EventEmitter
instance. The value can be set toInfinity
(or 0
) to indicate an unlimited number of listeners.
Returns a reference to the EventEmitter
, so that calls can be chained.
Unexport exported GPIO ports. ポート開放をする
ポート開放処理の完了
-出力値書き込み処理
読み取り処理の完了
無効なアクセスエラー
-Creates an instance of InvalidAccessError.
エラーメッセージ
diff --git a/docs/classes/OperationError.html b/docs/classes/OperationError.html index c2487d7..e91f07f 100644 --- a/docs/classes/OperationError.html +++ b/docs/classes/OperationError.html @@ -1,6 +1,6 @@操作エラー
-Creates an instance of OperationError.
エラーメッセージ
diff --git a/docs/modules.html b/docs/modules.html index 3b229ce..7cef3a1 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -Generated using TypeDoc
Generated using TypeDoc
GPIO
-