NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool ReadSensorHTIRReceiverEx ( const byte  port,
const byte  offset,
char &  pfchar 
)
inline

Read HiTechnic IRReceiver Power Function value.

Read a Power Function byte from the HiTechnic IRReceiver sensor. 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.

Parameters
portThe sensor port. See Input port constants.
offsetThe power function data offset. See HiTechnic IRReceiver constants.
pfcharA single byte of power function remote IR data.
Returns
The function call result.
Examples:
ex_ReadSensorHTIRReceiverEx.nxc.