calibration started
This commit is contained in:
@ -15,13 +15,20 @@ public:
|
||||
Thermometer();
|
||||
void begin(bool initializeConfig, int eepromAddr);
|
||||
void exec(float r);
|
||||
float alpha;
|
||||
float temperature;
|
||||
float temperatureRaw;
|
||||
|
||||
float getAlpha() const { return m_alpha; };
|
||||
void setAlpha(float alpha);
|
||||
|
||||
float getTemperature() const { return m_temperature; };
|
||||
float getTemperatureRaw() const { return m_temperatureRaw; };
|
||||
private:
|
||||
int m_eepromAddr;
|
||||
float m_lastSmoothedTemperature;
|
||||
float m_smoothedTemperature;
|
||||
|
||||
float m_alpha;
|
||||
float m_temperature;
|
||||
float m_temperatureRaw;
|
||||
};
|
||||
|
||||
#endif // _THERMOMETER_H_
|
||||
|
Reference in New Issue
Block a user