Loading files
/*
Copyright 2021-2025 Marc Ketel
SPDX-License-Identifier: Apache-2.0
*/
#ifndef NTC_H
#define NTC_H
class NTC {
private:
float resistorDividerVoltage;
float resistorDividerResistance;
float thermistorResistance;
float thermistorTemperature;
float thermistorBValue;
public:
NTC(void);
void SetParameters(
float resistorDividerVoltage,
float resistorDividerResistance,
float thermistorResistance,
float thermistorTemperature,
float thermistorBValue);
float GetTemperature(float voltage);
};
#endif1154267f2This file is pinned to the selected release. Download the original to open it in your design tool.