Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Heating/Sensors/ThermocoupleSensor31855.h')
-rw-r--r--src/Heating/Sensors/ThermocoupleSensor31855.h21
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_ */