#define NXTServoEditMacro ( _port,
_i2caddr,
_result   )     __NXTServoEditMacro(_port, _i2caddr, _result)

Edit NXTServo macro.

Put the NXTServo device into macro edit mode. This operation changes the I2C address of the device to 0x40. Macros are written to EEPROM addresses between 0x21 and 0xFF. Use NXTServoQuitEdit to return the device to its normal operation mode. 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.
_result A status code indicating whether the operation completed successfully or not. See TCommLSCheckStatus for possible Result values.

Generated by  doxygen 1.6.2