#define NXTServoInit ( _port,
_i2caddr,
_servo,
_result   )     __NXTServoInit(_port, _i2caddr, _servo, _result)

Initialize NXTServo servo properties.

Store the initial speed and position properties of the servo motor 'n'. Current speed and position values of the nth servo is read from the servo speed register and servo position register and written to permanent memory. 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.
_result A status code indicating whether the operation completed successfully or not. See TCommLSCheckStatus for possible Result values.

Generated by  doxygen 1.6.2