Struct Opt3001Reading
An OPT3001 illuminance result.
public readonly record struct Opt3001Reading : IEquatable<Opt3001Reading>
- Implements
- Inherited Members
Constructors
Opt3001Reading(ushort, uint, float)
An OPT3001 illuminance result.
public Opt3001Reading(ushort Raw, uint MilliLux, float Lux)
Parameters
RawushortThe result register: a four-bit exponent over a twelve-bit mantissa.
MilliLuxuintThe illuminance in millilux, exact in integers.
LuxfloatThe illuminance in lux.
Properties
Lux
The illuminance in lux.
public float Lux { get; init; }
Property Value
MilliLux
The illuminance in millilux, exact in integers.
public uint MilliLux { get; init; }
Property Value
Raw
The result register: a four-bit exponent over a twelve-bit mantissa.
public ushort Raw { get; init; }