19 #ifndef _THERMISTOR_H_
20 #define _THERMISTOR_H_
23 #define DEFINE_LOOKUP_TABLES
30 static float lookup(
const uint32_t *lut,
34 static float convert(
const float resistance,
float coeff_A,
float coeff_B,
36 virtual float convert(
const float resistance) = 0;
37 virtual float lookup(
const float resistance) = 0;
Definition: thermistor.h:26
virtual float convert(const float resistance)=0
static float lookup(const uint32_t *lut, uint32_t resistance, uint16_t size, int16_t offset)
virtual float lookup(const float resistance)=0
static float convert(const float resistance, float coeff_A, float coeff_B, float coeff_C)