Click or drag to resize
AnalogSensor Class
Driver for a generic analog sensor.
Inheritance Hierarchy
SystemObject
  Microsoft.IoT.Devices.SensorsAnalogSensor

Namespace: Microsoft.IoT.Devices.Sensors
Assembly: Microsoft.IoT.Devices (in Microsoft.IoT.Devices.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class AnalogSensor : IAnalogSensor, 
	IDevice, IClosable, IScheduledDevice, IStringable

The AnalogSensor type exposes the following members.

Constructors
  NameDescription
Public methodAnalogSensor
Initializes a new AnalogSensor instance.
Top
Properties
  NameDescription
Public propertyAdcChannel
Gets or sets the ADC channel for the sensor.
Public propertyReportInterval
Gets or sets the current report interval for the thumbstick.
Top
Methods
  NameDescription
Public methodClose
Public methodEquals (Inherited from Object.)
Public methodGetCurrentReading
Gets the current sensor reading.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventReadingChanged
Occurs each time the sensor reports a new reading.
Top
See Also