PhidgetAccelerometer |
A class for controlling a PhidgetAccelerometer. See your product manual for more specific API details, supported functionality, units, etc.
PhidgetAccelerometer | A class for controlling a PhidgetAccelerometer. |
Events | Events supported by PhidgetAccelerometer. |
Properties | |
AxisCount | Gets the number of axes on this accelerometer. |
Functions | |
getAcceleration | Gets the acceleration of a axis. |
getAccelerationMin | Gets the minimum acceleration that an axis will return. |
getAccelerationMax | Gets the maximum acceleration that an axis will return. |
getAccelerationChangeTrigger | Gets the change trigger for an axis. |
setAccelerationChangeTrigger | Sets the change trigger for an axis. |
Gets the number of axes on this accelerometer.
public function get AxisCount():int
Gets the acceleration of a axis.
public function getAcceleration( index: int ):Number
Gets the minimum acceleration that an axis will return.
public function getAccelerationMin( index: int ):Number
Gets the maximum acceleration that an axis will return.
public function getAccelerationMax( index: int ):Number
Gets the change trigger for an axis.
public function getAccelerationChangeTrigger( index: int ):Number
Sets the change trigger for an axis.
public function setAccelerationChangeTrigger( index: int, val: Number ):void