NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char SetHTIRSeeker2Mode ( const byte &  port,
const byte  mode 
)
inline

Set HiTechnic IRSeeker2 mode.

Set the mode of the HiTechnic IRSeeker2 sensor 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.
modeThe IRSeeker2 mode. See HiTechnic IRSeeker2 constants.
Returns
The function call result. NO_ERR or Communications specific errors.
Examples:
ex_sethtirseeker2mode.nxc, and ex_setsensorboolean.nxc.