Read the distance from a ultrasonic device
dev - connected ultrasonic device opened using ultrasonic
distance - distance value in meters from the ultrasonic device, or Inf if out of sensor range
See also: arduino, ultrasonic.
Package: arduino