OpenSTEM
main
code module
OpenSTEM
Docs
»
Sonar
Edit on GitHub
Sonar
¶
sonar.
get_distance
(
)
→
float:
¶
Return the distance measured by the sensor in cm.
Returns
:
Distance in centimeters
Return type
:
float