Characteristic Locus
Inherited Members ISamplingSensor<Temperature>.UpdateInterval ISamplingSensor<Temperature>.IsSampling ISamplingSensor<Temperature>.StartUpdating(TimeSpan?) ISamplingSensor<Temperature>.StopUpdating() ISensor<Temperature>.Read()
Namespace Meadow.Peripherals.Sensors
Assembly Meadow.Contracts.dll

Syntax

public interface ITemperatureSensor : ISamplingSensor<Temperature>, ISensor<Temperature>

Properties

Temperature

Last value read from the Temperature sensor.

Declaration
Temperature? Temperature { get; }

Property Value

Type Description
Temperature?

Events

TemperatureUpdated

Raised when a new reading has been made. Events will only be raised while the driver is updating. To start, call the StartUpdating() method.

Declaration
event EventHandler<IChangeResult<Temperature>> TemperatureUpdated

Event Type

Type Description
EventHandler<IChangeResult<Temperature>>