Vl53L0X Class

Definition

Represents Vl53L0X

public class Vl53L0X : IDisposable
type Vl53L0X = class
    interface IDisposable
Public Class Vl53L0X
Implements IDisposable
Inheritance
Vl53L0X
Implements

Constructors

Vl53L0X(I2cDevice, Int32, Boolean)

Create a VL53L0X Sensor class

Fields

DefaultI2cAddress

The default I2C Address

Properties

Distance

Get the distance depending on the measurement mode

DistanceContinous

Get a distance in millimeters from the continous measurement feature. It is recommended to used this method to gethigher quality measurements

DistanceContinuous

Get a distance in millimeters from the continous measurement feature. It is recommended to used this method to gethigher quality measurements

DistanceSingleMeasurement

Performs a single-shot range measurement and returns the reading in millimeters

HighResolution

Set/Get high resolution measurement

Information

Get the sensor information including internal signal and distance offsets

MaxTryReadSingle

Used to find a clean measurement when reading in single shot

MeasurementMode

Get/Set the measurement mode used to return the distance property

Precision

Set the type of precision needed for measurement

Methods

ChangeI2cAddress(I2cDevice, Byte)

The sensor can be changed for other I2C Address, this function allows to change it

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetDistanceOnce(Boolean)

Get a distance in millimeters

Reset()

Performs a soft reset of the sensor

SetSignalRateLimit(Double)

Set the signal rate limit in MCPS

StartContinuousMeasurement(Int32)

Start continuous ranging measurements. If periodMilliseconds is 0 continuous back-to-back mode is used (the sensor takes measurements as often as possible) otherwise, continuous timed mode is used, with the given inter-measurement period in milliseconds determining how often the sensor takes a measurement.

Applies to