1#ifndef HUMIDISTAT_THERMISTORREADER_H
2#define HUMIDISTAT_THERMISTORREADER_H
12 const double B = 3950;
Driver for thermistor thermometers.
const double r_inf
Thermistor's value of R_inf in the thermistor equation (Ohm)
double getThermistorResistance() const
Calculate the resistance of the thermistor in the voltage divider.
const double B
Thermistor's value of B in the thermistor equation (K)
double readTemp() const
Get the temperature of the thermistor.
const uint8_t pin
NTC pin number.
const double R_series
Resistance of R2 in voltage divider (Ohm)
const uint8_t ref_pin
Reference (high) voltage pin number.
ThermistorReader(uint8_t pin)
Constructor.