Detailed Description
Calls specific to the Phidget Weight Sensor. See the product manual for more specific API details, supported functionality, units, etc.
Typedef Documentation
A Phidget WeightSensor handle
Function Documentation
Creates a Phidget WeightSensor handle.
- Parameters:
-
| phid | A pointer to an unallocated Phidget WeightSensor handle. |
Gets the sensed weight.
- Parameters:
-
| phid | An attached phidget weight sensor handle. |
| weight | The weight. |
Set a weight change handler. This is called when the weight changes by more then the change trigger.
- Parameters:
-
| phid | An attached phidget weight sensor handle. |
| fptr | Callback function pointer. |
| userPtr | A pointer for use by the user - this value is passed back into the callback function. |
Gets the weight change trigger.
- Parameters:
-
| phid | An attached phidget weight sensor handle. |
| trigger | The change trigger. |
Sets the weight change trigger.
- Parameters:
-
| phid | An attached phidget weight sensor handle. |
| trigger | The change trigger. |