#define PFMateSend ( _port,
_i2caddr,
_channel,
_motors,
_cmdA,
_spdA,
_cmdB,
_spdB,
_result   )     __PFMateSend(_port, _i2caddr, _channel, _motors, _cmdA, _spdA, _cmdB, _spdB, _result)

Send PFMate command.

Send a PFMate command to the power function IR receiver. Returns a boolean value indicating whether or not the operation completed successfully. 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 IR receiver channel. See the PFMate channel constants group.
_motors The motor(s) to control. See the PFMate motor constants group.
_cmdA The power function command for motor A. See the Power Function command constants group.
_spdA The power function speed for motor A.
_cmdB The power function command for motor B. See the Power Function command constants group.
_spdB The power function speed for motor B.
_result The function call result.

Generated by  doxygen 1.6.2