Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: rtd.h
- Revision:
- 0:854742598c2c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/rtd.h Fri Feb 19 16:05:58 2021 +0530
@@ -0,0 +1,34 @@
+/*!
+ *****************************************************************************
+ @file: rtd.h
+
+ @brief:
+
+ @details:
+ -----------------------------------------------------------------------------
+ Copyright (c) 2018, 2020 Analog Devices, Inc. All rights reserved.
+
+ This software is proprietary to Analog Devices, Inc. and its licensors.
+ By using this software you agree to the terms of the associated
+ Analog Devices Software License Agreement.
+
+*****************************************************************************/
+
+
+#ifndef RTD_H_
+#define RTD_H_
+
+class RTD
+{
+public:
+ /**
+ * @brief converts a resistance to a temperature
+ *
+ * @param [in] resistance - the resistance of the temperature sensor
+ *
+ * @return temperature
+ */
+ virtual float convertResistanceToTemperature(const float resistance) = 0;
+};
+
+#endif