readultrasonic()

Function Definition: readultrasonic( )

Parameters

NameTypeDescriptionExpected ValuesDefault Value
intThe function measures the distance using the ultrasonic sensor and returns the value in centimeters.1,2

Description

The function measures the distance using the ultrasonic sensor and returns the value in centimeters.

Example

There are no examples documented for this article.