Library to support temperature sensor conversions and lookups
Diff: ptxxx.h
- Revision:
- 1:f65f6fadda5d
- Child:
- 2:bcfa5a2f21c9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ptxxx.h Mon Feb 22 05:08:54 2021 +0000 @@ -0,0 +1,38 @@ +/*! + ***************************************************************************** + @file: ptxxx.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_PTXXX_H_ +#define RTD_PTXXX_H_ + +#include <math.h> + +#include "rtd.h" + +class PT100 : public RTD +{ +public: + float convertResistanceToTemperature(float resistance); +}; + +class PT1000 : public RTD +{ +public: + float convertResistanceToTemperature(float resistance); +}; + +#endif /* RTD_PTXXX_H_ */ +