#define ReadNXTServoSpeed ( _port,
_i2caddr,
_servo,
_out,
_result   )     __MSReadValue(_port, _i2caddr, NXTSERVO_REG_S1_SPEED+_servo, 1, _out, _result)

Read NXTServo servo speed value.

Read the mindsensors NXTServo device's servo speed value. 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.
_out The specified servo's speed value.
_result A status code indicating whether the operation completed successfully or not. See TCommLSCheckStatus for possible Result values.

Generated by  doxygen 1.6.2