Characteristic | Locus |
---|---|
Inheritance | object > AnalogLightSensor.Calibration |
Inherited Members | object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() |
Namespace | Meadow.Foundation.Sensors.Light |
Assembly | Meadow.Foundation.dll |
Syntax
public class AnalogLightSensor.Calibration
Constructors
Calibration()
Default constructor. Create a new Calibration object with default values for the properties.
Declaration
public Calibration()
Calibration(Voltage, Voltage)
Create a new Calibration object using the specified values.
Declaration
public Calibration(Voltage voltsPerLuminance, Voltage voltsAtZero)
Parameters
Type | Name | Description |
---|---|---|
Voltage | voltsPerLuminance | Voltage change per luminance. |
Voltage | voltsAtZero | Voltage at a zero water level reading. |
Properties
VoltsAtZero
Voltage when no light is detected by sensor
Declaration
public Voltage VoltsAtZero { get; protected set; }
Property Value
Type | Description |
---|---|
Voltage |
VoltsPerLuminance
Linear change in the sensor output change in temperature.
Declaration
public Voltage VoltsPerLuminance { get; protected set; }
Property Value
Type | Description |
---|---|
Voltage |