MSPFRawOutput function.
Control a Power Function receiver set to the specified channel using the mindsensors NRLink device. Build the raw data stream using the 3 nibbles (4 bit values). The port must be configured as a Lowspeed port before using this function.
- Parameters
-
port | The sensor port. See Input port constants. |
i2caddr | The sensor I2C address. See sensor documentation for this value. |
nibble0 | The first raw data nibble. |
nibble1 | The second raw data nibble. |
nibble2 | The third raw data nibble. |
- Returns
- The function call result. NO_ERR or Communications specific errors.
- Examples:
- ex_MSPFRawOutput.nxc.