27#include "grmcdorman/device/AbstractAnalog.h"
28#include "grmcdorman/Setting.h"
30namespace grmcdorman::device
83 DynamicJsonDocument
as_json()
const override;
Abstract analog device.
Definition: AbstractAnalog.h:46
A thermistor analog device.
Definition: ThermistorSensor.h:73
ThermistorSensor(float thermalIndex, float t1Kelvin)
Construct a new ThermistorSensor object.
Definition: ThermistorSensor.cpp:63
float inverse_thermal_index
The inverse of thermal index of the thermistor.
Definition: ThermistorSensor.h:105
DynamicJsonDocument as_json() const override
Get the values, as a JSON document.
Definition: ThermistorSensor.cpp:88
InfoSettingHtml device_status
Last update.
Definition: ThermistorSensor.h:108
virtual String get_status() const
Get a status report.
Definition: ThermistorSensor.cpp:102
virtual float transform_raw_reading(int reading) override
Transform the raw reading to a temperature.
Definition: ThermistorSensor.cpp:122
NoteSetting title
Device tab title.
Definition: ThermistorSensor.h:107
float inverse_t1
The inverse of the T1 temperature of the thermistor.
Definition: ThermistorSensor.h:106