<< Previous | Next >> | |
|
void servo_torque( int which, int torque );
Description
- Run specified servo in open loop controlled torque mode. The torque is limited by the dynamic current limit feature, if available.
Parameters
- which
- Servo (0 or 1)
- torque
- Amount of torque expressed as a fraction of the maximum permissible torque, times 10,000. For example, to set the torque to 1/10 the maximum value in the reverse direction, call
servo_torque(0, -1000)
.
Library
- SERVO.LIB
See Also
- servo_closedloop, servo_openloop
Dynamic C Functions | << Previous | Next >> | rabbit.com |