Packagefunnel
Classpublic class MatrixLED
InheritanceMatrixLED Inheritance IOSystem Inheritance flash.events.EventDispatcher

Gainer I/Oモジュールに接続したマトリクスLEDをコントロールするクラスです。



Public Properties
 PropertyDefined by
 InheritedautoUpdate : Boolean
出力ポートを手動で更新する場合はfalseにします。
IOSystem
 InheritedsamplingInterval : int
サンプリング間隔
IOSystem
Public Methods
 MethodDefined by
  
MatrixLED(host:String = "localhost", portNum:Number = 9000)
MatrixLED
 Inherited
ioModule(moduleNum:uint):IOModule
moduleNumで指定した番号のI/Oモジュールを取得します。
IOSystem
  
scanMatrix(image:*):void
8x8画素のBitmapDataか、64要素のNumber配列からマトリクスLEDの表示内容を更新します。
MatrixLED
 Inherited
sendSysex(moduleNum:uint, command:uint, sysexMessage:Array):void
IOSystem
 Inherited
update():void
全ての出力ポートの値を更新します。通常、autoUpdateをfalseに設定して利用します。
IOSystem
Events
 EventSummaryDefined by
 Inherited 指定したコンフィギュレーションの設定に失敗したとき送出されます。 IOSystem
 Inherited エラーが起きたとき送出されます。 IOSystem
 Inherited This event will be sent when I2C power pins of an I/O module is ready IOSystem
 Inherited This event will be sent when an I/O module is ready IOSystem
 Inherited I/Oモジュールの再起動に失敗したとき送出されます。 IOSystem
Protected Constants
 ConstantDefined by
 InheritedI2C_POWER_PINS_STARTUP_TIME : uint = 500
[static]
IOSystem
Constructor detail
MatrixLED()constructor
public function MatrixLED(host:String = "localhost", portNum:Number = 9000)

Parameters
host:String (default = "localhost") — ホスト名
 
portNum:Number (default = 9000) — ポート番号
Method detail
scanMatrix()method
public function scanMatrix(image:*):void

8x8画素のBitmapDataか、64要素のNumber配列からマトリクスLEDの表示内容を更新します。

Parameters
image:* — 8x8画素のBitmapData or 64要素のNumber配列

See also

flash.display.BitmapData