|
NXC
Version 1.2.1 r5
|
|
inline |
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.
| 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. |
| spdA | The power function speed for motor A. |
| cmdB | The power function command for motor B. |
| spdB | The power function speed for motor B. |