r, u, t
This commit is contained in:
19
Thermometer.cpp
Normal file
19
Thermometer.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include "Thermometer.h"
|
||||
|
||||
using Thermometer;
|
||||
|
||||
Thermometer::Thermometer() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
void Thermometer::begin() {
|
||||
m_lastSmoothedTemperature = 0.0;
|
||||
}
|
||||
|
||||
|
||||
void Thermometer::exec(float r) {
|
||||
temperatureRaw = (r / PT1000_R0 - 1) / PT1000_Coeff;
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user