AnalogInput.Read Method

Reads from the analog port.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public double Read ()

Return Value

The read value modified by the multiplicative and constant factors.

Remarks

The returned value is modified according to the formula: result = raw * alpha + K.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

AnalogInput Class
AnalogInput Members
Microsoft.SPOT.Hardware Namespace