Characteristic Locus
Inheritance System.Object > Mb10x0
Inherited Members System.Object.ToString() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone()
Namespace Meadow.Foundation.Sensors.Distance
Assembly Mb10x0.dll

Syntax

public class Mb10x0

Constructors

Mb10x0(IIODevice, SerialPortName)

Declaration
public Mb10x0(IIODevice device, SerialPortName portName)

Parameters

Type Name Description
IIODevice device
SerialPortName portName

Mb10x0(ISerialPort)

Declaration
public Mb10x0(ISerialPort serialPort)

Parameters

Type Name Description
ISerialPort serialPort

Properties

Baud

Declaration
public int Baud { get; }

Property Value

Type Description
System.Int32

Methods

ReadSerial()

Declaration
public int ReadSerial()

Returns

Type Description
System.Int32