#define MSPFComboDirect ( _port,
_i2caddr,
_channel,
_outa,
_outb,
_result   )     __MSPFComboDirect(_port, _i2caddr, _channel, _outa, _outb, _result)

MSPFComboDirect function.

Execute a pair of Power Function motor commands on the specified channel using the mindsensors NRLink device. Commands for outa and outb are PF_CMD_STOP, PF_CMD_REV, PF_CMD_FWD, and PF_CMD_BRAKE. Valid channels are PF_CHANNEL_1 through PF_CHANNEL_4. 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.
_channel The Power Function channel. See Power Function channel constants.
_outa The Power Function command for output A. See Power Function command constants.
_outb The Power Function command for output B. See Power Function command constants.
_result The function call result. NO_ERR or Communications specific errors.

Generated by  doxygen 1.6.2