#define SetNXTServoSpeed ( _port,
_i2caddr,
_servo,
_speed,
_result   )     __MSWriteToRegister(_port, _i2caddr, NXTSERVO_REG_S1_SPEED+_servo, _speed, _result)

Set NXTServo servo motor speed.

Set the speed of a servo motor controlled by the NXTServo device. The port must be configured as a Lowspeed port before using this function.

Parameters:
_port The sensor port. See NBC Input port constants.
_i2caddr The sensor I2C address. See sensor documentation for this value.
_servo The servo number. See MindSensors NXTServo servo numbers group.
_speed The servo speed. (0..255)
_result A status code indicating whether the operation completed successfully or not. See TCommLSCheckStatus for possible Result values.

Generated by  doxygen 1.6.2