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

Configure an ultrasonic sensor.

Configure the sensor on the specified port as an ultrasonic sensor.

Parameters
portThe port to configure. See Input port constants.
Examples:
ex_SetSensorUltrasonic.nxc.