NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool PFMateSendRaw ( const byte &  port,
const byte &  i2caddr,
const byte &  channel,
const byte &  b1,
const byte &  b2 

Send raw PFMate command.

Send a raw 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.

portThe sensor port. See NBC Input port constants.
i2caddrThe sensor I2C address. See sensor documentation for this value.
channelThe power function IR receiver channel. See the PFMate channel constants group.
b1Raw byte 1.
b2Raw byte 2.
The function call result.