EV3InfraredSensor.ReadDistance Method

Definition

Read the distance of the sensor in CM (0-100). This will change mode to proximity

C#
public int ReadDistance ();

Returns

Applies to

Produkt Versioner
.NET IoT Libraries 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0