diff options
Diffstat (limited to 'src/Heating/Sensors/CpuTemperatureSensor.h')
-rw-r--r-- | src/Heating/Sensors/CpuTemperatureSensor.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Heating/Sensors/CpuTemperatureSensor.h b/src/Heating/Sensors/CpuTemperatureSensor.h new file mode 100644 index 00000000..7e23ac77 --- /dev/null +++ b/src/Heating/Sensors/CpuTemperatureSensor.h @@ -0,0 +1,25 @@ +/* + * CpuTemperatureSensor.h + * + * Created on: 8 Jun 2017 + * Author: David + */ + +#ifndef SRC_HEATING_SENSORS_CPUTEMPERATURESENSOR_H_ +#define SRC_HEATING_SENSORS_CPUTEMPERATURESENSOR_H_ + +#include "TemperatureSensor.h" + +#ifndef __RADDS__ + +class CpuTemperatureSensor : public TemperatureSensor +{ +public: + CpuTemperatureSensor(unsigned int channel); + void Init() override; + TemperatureError GetTemperature(float& t) override; +}; + +#endif + +#endif /* SRC_HEATING_SENSORS_CPUTEMPERATURESENSOR_H_ */ |