Click or drag to resize

Sensor Class

Encapsulates the M5 Stack Ultrasonic-I2C SONAR distance sensor module.
Inheritance Hierarchy
SystemObject
  IO.Devices.M5Stack_Ultrasonic_I2CSensor

Namespace: IO.Devices.M5Stack_Ultrasonic_I2C
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2026.283.1
Syntax
C#
public class Sensor : Sensor

The Sensor type exposes the following members.

Constructors
 NameDescription
Public methodSensor Constructor for an M5 Stack Ultrasonic-I2C SONAR distance sensor object.
Top
Properties
 NameDescription
Public propertycentimeters Read-only property returning the distance in centimeters.
Public propertyinches Read-only property returning the distance in inches.
Public propertymeters Read-only property returning the distance in meters.
Top
See Also