Library to support temperature sensor conversions and lookups
Diff: rtd.h
- Revision:
- 1:f65f6fadda5d
- Child:
- 2:bcfa5a2f21c9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rtd.h Mon Feb 22 05:08:54 2021 +0000 @@ -0,0 +1,35 @@ +/*! + ***************************************************************************** + @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 +