Detailed Description
These calls are specific to the Phidget Accelerometer object. See your device's User Guide for more specific API details, technical information, and revision details. The User Guide, along with other resources, can be found on the product page for your device.
Define Documentation
Gets the number of acceleration axes supported by this accelerometer.
- Parameters:
-
phid | An attached phidget accelerometer handle. |
count | The axis count. Gets the current acceleration of an axis. |
phid | An attached phidget accelerometer handle. |
index | The acceleration index. |
acceleration | The acceleration. Gets the maximum accleration supported by an axis. |
phid | An attached phidget accelerometer handle. |
index | The acceleration index |
max | The maximum acceleration Gets the minimum acceleraiton supported by an axis. |
phid | An attached phidget accelerometer handle. |
index | The acceleration index |
min | The minimum acceleraion Sets an acceleration change event handler. This is called when the acceleration changes by more then the change trigger. |
phid | A phidget accelerometer handle. |
fptr | Callback function pointer. |
userPtr | A pointer for use by the user - this value is passed back into the callback function. Gets the change trigger for an axis. |
phid | An attached phidget accelerometer handle. |
index | The acceleration index |
trigger | The change trigger. Sets the change trigger for an axis. |
phid | An attached phidget accelerometer handle. |
index | The acceleration index |
trigger | The change trigger. |
Definition at line 69 of file cphidgetaccelerometer.h.