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

HTPFRawOutput function.

Control a Power Function receiver set to the specified channel using the HiTechnic iRLink 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.
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_HTPFRawOutput.nxc.