NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void SetSensorHTEOPD ( const byte &  port,
bool  bStandard = true 
)
inline

Set sensor as HiTechnic EOPD.

Configure the sensor on the specified port as a HiTechnic EOPD sensor in either standard range or long range mode. As with all third party sensors, consult the documentation provided by the manufacturer for additional details regarding how to use their device.

Parameters
portThe sensor port. See Input port constants.
bStandardConfigure in standard range or long range mode, default = standard range mode.
Examples:
ex_setsensorhteopd.nxc.