NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int SensorHTIRSeeker2Addr ( const byte &  port,
const byte  reg 
)
inline

Read HiTechnic IRSeeker2 register.

Read a register value from the HiTechnic IR Seeker2 on the specified port. The port must be configured as a Lowspeed port before using this function.

Parameters
portThe sensor port. See Input port constants.
regThe register address. See HiTechnic IRSeeker2 constants.
Returns
The IRSeeker2 register value.
Examples:
ex_SensorHTIRSeeker2Addr.nxc.