Call:      Distance(String Tag) 

Input:    Tagname 

Output: Int 

 

The value for the selected ultrasonic, associated with the Tagname is checked on the distance. The function result is the measured distance.

 

Example: 

MeasuredAtoB = Distance("BIRD1”);