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.
Dependents: lib_MAX31856_example
Diff: lib_MAX31856.h
- Revision:
- 3:9fb5fcf05ac3
- Parent:
- 2:c5e7f83a00ed
--- a/lib_MAX31856.h Tue Oct 13 11:57:18 2020 +0000
+++ b/lib_MAX31856.h Fri Jul 23 08:16:37 2021 +0000
@@ -7,7 +7,7 @@
*
* Started: SEPTEMBER 14th 2017
*
-* Updated:
+* Updated: Jully 2021 By Yannic Simon
*
* @brief Header file for MAX31856 class
*
@@ -45,9 +45,9 @@
* ownership rights.
**********************************************************************/
-
#ifndef MAX31856_h
#define MAX31856_h
+#include <ctime>
#include "mbed.h"
//*****************************************************************************
@@ -545,7 +545,7 @@
///time in milliseconds that is needed minimum for a new conversion to take place
uint32_t conversion_time;
- float prev_TC;
+ float prev_TC = NAN;
};
-#endif /* __MAX31856_H_ */
+#endif /* __MAX31856_H_ */
\ No newline at end of file