<< Previous | Next >>

servo_openloop

void servo_openloop( int which, word pwm );

Description

Run specified servo in open-loop mode (no PID control). Note that this bypasses dynamic current-limiting (if any defined) so should be used with caution.

Parameters

which
Servo (0 or 1).

pwm
Output PWM setting (0-1024). 0 indicates maximum reverse speed, 1024 is maximum forward speed. 512 is nominally zero speed (but this depends on amplifier offset).

Library

SERVO.LIB

See Also

servo_closedloop, servo_torque


Dynamic C Functions << Previous | Next >> rabbit.com