Share via


Offset Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a constant factor to apply to the raw sensor reading before the value is returned.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Property Offset As Double
public double Offset { get; set; }
public:
property double Offset {
    double get ();
    void set (double value);
}
member Offset : float with get, set
function get Offset () : double
function set Offset (value : double)

Property Value

Type: System. . :: . .Double
The constant factor to apply to the raw sensor reading before the value is returned.

.NET Framework Security

See Also

Reference

AnalogInput Class

Microsoft.SPOT.Hardware Namespace