NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void ResetSensor ( const byte &  port)
inline

Reset the sensor port.

Sets the invalid data flag on the specified port and waits for it to become valid again. After changing the type or the mode of a sensor port you must call this function to give the firmware time to reconfigure the sensor port.

Parameters
portThe port to reset. See Input port constants.
Examples:
ex_ResetSensor.nxc.