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

Reset HiTechnic Angle sensor.

Reset the HiTechnic Angle 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 Angle reset mode. See HiTechnic Angle sensor constants.
Returns
The function call result. NO_ERR or Communications specific errors.
Examples:
ex_ResetSensorHTAngle.nxc.