Struct Tmp117Reading
A TMP117 temperature result.
public readonly record struct Tmp117Reading : IEquatable<Tmp117Reading>
- Implements
- Inherited Members
Constructors
Tmp117Reading(short, int, float)
A TMP117 temperature result.
public Tmp117Reading(short Raw, int MicroCelsius, float Celsius)
Parameters
RawshortThe temperature register, 7.8125 millidegrees per count.
MicroCelsiusintThe temperature in micro-degrees Celsius, exact in integers.
CelsiusfloatThe temperature in degrees Celsius.
Properties
Celsius
The temperature in degrees Celsius.
public float Celsius { get; init; }
Property Value
MicroCelsius
The temperature in micro-degrees Celsius, exact in integers.
public int MicroCelsius { get; init; }
Property Value
Raw
The temperature register, 7.8125 millidegrees per count.
public short Raw { get; init; }