OneWireThermometerDevice Class

Definition

Represents a 1-wire thermometer device.

public class OneWireThermometerDevice : Iot.Device.OneWire.OneWireDevice
type OneWireThermometerDevice = class
    inherit OneWireDevice
Public Class OneWireThermometerDevice
Inherits OneWireDevice
Inheritance
OneWireThermometerDevice

Constructors

OneWireThermometerDevice(String, String)

Initializes a new instance of the OneWireThermometerDevice class.

Properties

BusId

The bus where this device is attached.

(Inherited from OneWireDevice)
DeviceId

The 1-wire id of this device.

(Inherited from OneWireDevice)
Family

The device family id of this device.

(Inherited from OneWireDevice)

Methods

EnumerateDevices()

Enumerate all devices in system of type thermometer.

IsCompatible(DeviceFamily)

Check if family is compatible with this type of devices.

IsCompatible(String, String)

Check if device is compatible with this family of devices.

ReadTemperature()

Reads the current temperature of the device. Expect this function to be slow (about one second).

ReadTemperatureAsync()

Reads the current temperature of the device. Expect this function to be slow (about one second).

Applies to