| Package | funnel.i2c |
| Class | public class HMC6343_Simple |
| Inheritance | HMC6343_Simple I2CDevice |
| Implements | flash.events.IEventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | address : uint | I2CDevice | |
![]() | command : uint | I2CDevice | |
| compassOrientation : uint [read-only]
| HMC6343_Simple | ||
| heading : Number [read-only]
| HMC6343_Simple | ||
| pitch : Number [read-only]
| HMC6343_Simple | ||
| roll : Number [read-only]
| HMC6343_Simple | ||
| Method | Defined by | ||
|---|---|---|---|
|
HMC6343_Simple(ioModule:*, compassOrientation:uint = 0, readContinuous:Boolean = true, address:uint = 0x19, measureRate:uint)
| HMC6343_Simple | ||
|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
| HMC6343_Simple | ||
|
dispatchEvent(evt:Event):Boolean
| HMC6343_Simple | ||
|
enterUserCalibrationMode():void
| HMC6343_Simple | ||
|
exitUserCalibrationMode():void
| HMC6343_Simple | ||
|
handleSysex(command:uint, data:Array):void
| HMC6343_Simple | ||
|
hasEventListener(type:String):Boolean
| HMC6343_Simple | ||
|
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
| HMC6343_Simple | ||
|
resetTheProcessor():void
| HMC6343_Simple | ||
|
setCompassOrientation(compassOrientation:uint):void
| HMC6343_Simple | ||
|
update():void
| HMC6343_Simple | ||
|
willTrigger(type:String):Boolean
| HMC6343_Simple | ||
| Constant | Defined by | ||
|---|---|---|---|
| ENTER_USER_CALIBRATION_MODE : uint = 0x71 [static]
| HMC6343_Simple | ||
| EXIT_USER_CALIBRATION_MODE : uint = 0x7E [static]
| HMC6343_Simple | ||
![]() | I2C_ADDRESS_BASE : uint = 15488 [static]
| I2CDevice | |
![]() | I2C_CONFIG : uint = 0x78 [static]
| I2CDevice | |
![]() | I2C_REPLY : uint = 0x77 [static]
| I2CDevice | |
![]() | I2C_REQUEST : uint = 0x76 [static]
| I2CDevice | |
| LEVEL : uint = 0x72 [static]
| HMC6343_Simple | ||
| READ_HEADING : uint = 0x50 [static]
| HMC6343_Simple | ||
| RESET_THE_PROCESSOR : uint = 0x82 [static]
| HMC6343_Simple | ||
| UPRIGHT_EDGE : uint = 0x73 [static]
| HMC6343_Simple | ||
| UPRIGHT_FRONT : uint = 0x74 [static]
| HMC6343_Simple | ||
| compassOrientation | property |
compassOrientation:uint [read-only]Implementation
public function get compassOrientation():uint
| heading | property |
heading:Number [read-only]Implementation
public function get heading():Number
| pitch | property |
pitch:Number [read-only]Implementation
public function get pitch():Number
| roll | property |
roll:Number [read-only]Implementation
public function get roll():Number
| HMC6343_Simple | () | constructor |
public function HMC6343_Simple(ioModule:*, compassOrientation:uint = 0, readContinuous:Boolean = true, address:uint = 0x19, measureRate:uint)Parameters
ioModule:* |
|
compassOrientation:uint (default = 0) |
|
readContinuous:Boolean (default = true) |
|
address:uint (default = 0x19) |
|
measureRate:uint |
| addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
|
priority:int (default = 0) |
|
useWeakReference:Boolean (default = false) |
| dispatchEvent | () | method |
public function dispatchEvent(evt:Event):BooleanParameters
evt:Event |
Boolean |
| enterUserCalibrationMode | () | method |
public function enterUserCalibrationMode():void
| exitUserCalibrationMode | () | method |
public function exitUserCalibrationMode():void
| handleSysex | () | method |
public override function handleSysex(command:uint, data:Array):voidParameters
command:uint |
|
data:Array |
| hasEventListener | () | method |
public function hasEventListener(type:String):BooleanParameters
type:String |
Boolean |
| removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
| resetTheProcessor | () | method |
public function resetTheProcessor():void
| setCompassOrientation | () | method |
public function setCompassOrientation(compassOrientation:uint):voidParameters
compassOrientation:uint |
| update | () | method |
public override function update():void
| willTrigger | () | method |
public function willTrigger(type:String):BooleanParameters
type:String |
Boolean |
| ENTER_USER_CALIBRATION_MODE | constant |
public static const ENTER_USER_CALIBRATION_MODE:uint = 0x71
| EXIT_USER_CALIBRATION_MODE | constant |
public static const EXIT_USER_CALIBRATION_MODE:uint = 0x7E
| LEVEL | constant |
public static const LEVEL:uint = 0x72
| READ_HEADING | constant |
public static const READ_HEADING:uint = 0x50
| RESET_THE_PROCESSOR | constant |
public static const RESET_THE_PROCESSOR:uint = 0x82
| UPRIGHT_EDGE | constant |
public static const UPRIGHT_EDGE:uint = 0x73
| UPRIGHT_FRONT | constant |
public static const UPRIGHT_FRONT:uint = 0x74