Ultrasonic HC-SR04


Read distance using the HC-SR04 ultrasonic distance sensor.

Inputs


LINX Resource
Contains LINX connection resources.

Trig
Specifies the LINX device digital output channel connected to the HC-SR04 Trig pin.

Echo Pin (DI)
Specifies the LINX device digital input channel connected to the HC-SR04 Echo pin.

Error In
Describes error conditions that occur before this node runs. This input provides standard error in functionality.

Outputs


LINX Resource
Contains LINX connection resources.

Centimeters
Returns the distance in centimeters.

Inches
Returns the distance in inches.

Error Out
Contains error information. This output provides standard error out functionality.