| Package | funnel |
| Class | public class Gainer |
| Inheritance | Gainer IOSystem flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | autoUpdate : Boolean
出力ポートを手動で更新する場合はfalseにします。
| IOSystem | |
| button : Button
[read-only]
| Gainer | ||
| gui : IOModuleGUI | Gainer | ||
| led : LED
[read-only]
| Gainer | ||
| MODE1 : Configuration
[static][read-only]
GAINERに用意されている8種類のコンフィギュレーションのうちの一つです。通常、Gainerのコンストラクタの引数で指定します。
| Gainer | ||
| MODE2 : Configuration
[static][read-only]
| Gainer | ||
| MODE3 : Configuration
[static][read-only]
| Gainer | ||
| MODE4 : Configuration
[static][read-only]
| Gainer | ||
| MODE5 : Configuration
[static][read-only]
| Gainer | ||
| MODE6 : Configuration
[static][read-only]
| Gainer | ||
| MODE7 : Configuration
[static][read-only]
| Gainer | ||
| MODE8 : Configuration
[static][read-only]
| Gainer | ||
![]() | samplingInterval : int
サンプリング間隔
| IOSystem | |
| Method | Defined by | ||
|---|---|---|---|
|
Gainer(config:Configuration = null, host:String = "localhost", portNum:Number = 9000, samplingInterval:int = 33)
| Gainer | ||
|
analogInput(pinNum:uint):Pin
pinNumで指定したピンを取得します。
| Gainer | ||
|
analogOutput(pinNum:uint):Pin
pinNumで指定したピンを取得します。
| Gainer | ||
|
digitalInput(pinNum:uint):Pin
pinNumで指定したピンを取得します。
| Gainer | ||
|
digitalOutput(pinNum:uint):Pin
pinNumで指定したピンを取得します。
| Gainer | ||
![]() |
moduleNumで指定した番号のI/Oモジュールを取得します。
| IOSystem | |
![]() |
sendSysex(moduleNum:uint, command:uint, sysexMessage:Array):void
| IOSystem | |
![]() |
update():void
全ての出力ポートの値を更新します。通常、autoUpdateをfalseに設定して利用します。
| IOSystem | |
| button | property |
| gui | property |
gui:IOModuleGUI [read-write]Implementation
public function get gui():IOModuleGUI
public function set gui(value:IOModuleGUI):void
| led | property |
| MODE1 | property |
MODE1:Configuration [read-only]GAINERに用意されている8種類のコンフィギュレーションのうちの一つです。通常、Gainerのコンストラクタの引数で指定します。
Implementation public static function get MODE1():Configuration
See also
| MODE2 | property |
| MODE3 | property |
| MODE4 | property |
| MODE5 | property |
| MODE6 | property |
| MODE7 | property |
| MODE8 | property |
| Gainer | () | constructor |
public function Gainer(config:Configuration = null, host:String = "localhost", portNum:Number = 9000, samplingInterval:int = 33)Parameters
config:Configuration (default = null) — コンフィギュレーション。指定しない場合はGainer.MODE1
|
|
host:String (default = "localhost") — ホスト名
|
|
portNum:Number (default = 9000) — ポート番号
|
|
samplingInterval:int (default = 33) — Gainerオブジェクトのオーナー(Spriteなど)
|
| analogInput | () | method |
public function analogInput(pinNum:uint):PinpinNumで指定したピンを取得します。
ParameterspinNum:uint — ピン番号
|
Pin —
pinNumで指定したPinオブジェクト
|
See also
| analogOutput | () | method |
public function analogOutput(pinNum:uint):PinpinNumで指定したピンを取得します。
ParameterspinNum:uint — ピン番号
|
Pin —
pinNumで指定したPinオブジェクト
|
See also
| digitalInput | () | method |
public function digitalInput(pinNum:uint):PinpinNumで指定したピンを取得します。
ParameterspinNum:uint — ピン番号
|
Pin —
pinNumで指定したPinオブジェクト
|
See also
| digitalOutput | () | method |
public function digitalOutput(pinNum:uint):PinpinNumで指定したピンを取得します。
ParameterspinNum:uint — ピン番号
|
Pin —
pinNumで指定したPinオブジェクト
|
See also