Classes | Defines | Functions
Phidget Servo
Specific Phidgets
Collaboration diagram for Phidget Servo:

Classes

struct  CPhidgetServoInfo

Defines

#define SERVO_MAXSERVOS   4

Functions

PHIDGET21_API int CCONV setupNewServoParams (CPhidgetServoHandle phid, int Index, CPhidgetServoParameters params)

Detailed Description

These calls are specific to the Phidget Servo 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

#define SERVO_MAXSERVOS   4

Definition at line 110 of file cphidgetservo.h.


Function Documentation

Gets the number of motors supported by this controller.

Parameters:
phidAn attached phidget servo handle.
countThe motor count. Gets the current position of a motor.
phidAn attached phidget servo handle.
indexThe motor index.
positionThe motor position. Sets the current position of a motor.
phidAn attached phidget servo handle.
indexThe motor index.
positionThe motor position. Gets the maximum position that a motor can be set to.
phidAn attached phidget servo handle.
indexThe motor index.
maxThe maximum position. Gets the minimum position that a motor can be set to.
phidAn attached phidget servo handle.
indexThe motor index.
minThe minimum position. Sets a position change event handler. This is called when the position changes.
phidAn attached phidget servo handle
fptrCallback function pointer.
userPtrA pointer for use by the user - this value is passed back into the callback function. Gets the engaged state of a motor. This is whether the motor is powered or not.
phidAn attached phidget servo handle
indexThe motor index.
engagedStateThe engaged state. Possible values are PTRUE and PFALSE. Sets the engaged state of a motor. This is whether the motor is powered or not.
phidAn attached phidget servo handle
indexThe motor index.
engagedStateThe engaged state. Possible values are PTRUE and PFALSE. Gets the servo type of a motor.
phidAn attached phidget advanced servo handle
indexThe motor index.
servoTypeThe servo type. Sets the servo type of a motor.
phidAn attached phidget advanced servo handle
indexThe motor index.
servoTypeThe servo type. Sets the servo parameters of a motor.
phidAn attached phidget advanced servo handle
indexThe motor index.
min_usThe minimum supported PCM in microseconds.
max_usThe maximum supported PCM in microseconds.
degreesThe degrees of rotation defined by the given PCM range.


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:22