Table of Contents

Struct Tmp117Reading

Namespace
Pamoja.Sensors
Assembly
Pamoja.Sensors.dll

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

Raw short

The temperature register, 7.8125 millidegrees per count.

MicroCelsius int

The temperature in micro-degrees Celsius, exact in integers.

Celsius float

The temperature in degrees Celsius.

Properties

Celsius

The temperature in degrees Celsius.

public float Celsius { get; init; }

Property Value

float

MicroCelsius

The temperature in micro-degrees Celsius, exact in integers.

public int MicroCelsius { get; init; }

Property Value

int

Raw

The temperature register, 7.8125 millidegrees per count.

public short Raw { get; init; }

Property Value

short