Hcsr04.Distance Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current distance, usual range from 2 cm to 400 cm.
public double Distance { get; }
public UnitsNet.Length Distance { get; }
[System.Device.Model.Telemetry(null, null)]
public UnitsNet.Length Distance { get; }
member this.Distance : double
member this.Distance : UnitsNet.Length
[<System.Device.Model.Telemetry(null, null)>]
member this.Distance : UnitsNet.Length
Public ReadOnly Property Distance As Double
Public ReadOnly Property Distance As Length
Property Value
UnitsNet.Length
- Attributes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for