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