NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char MSPFRawOutput ( const byte  port,
const byte  i2caddr,
const byte  nibble0,
const byte  nibble1,
const byte  nibble2 
)
inline

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
portThe sensor port. See Input port constants.
i2caddrThe sensor I2C address. See sensor documentation for this value.
nibble0The first raw data nibble.
nibble1The second raw data nibble.
nibble2The third raw data nibble.
Returns
The function call result. NO_ERR or Communications specific errors.
Examples:
ex_MSPFRawOutput.nxc.