ColorAndDistanceSensor.GetDistance Method

Definition

Gets the distance of the object from 0 to +10 cm

public int GetDistance ();
member this.GetDistance : unit -> int
Public Function GetDistance () As Integer

Returns

The distance from 0 to +10 cm.

Applies to