mn
Diff: Thermistor.cpp
- Revision:
- 2:ee3997416bcc
- Parent:
- 0:000a8be2414d
--- a/Thermistor.cpp Wed Mar 09 13:56:37 2016 +0000 +++ b/Thermistor.cpp Mon Aug 12 11:10:04 2019 +0000 @@ -32,8 +32,8 @@ // https://en.wikipedia.org/wiki/Steinhart%E2%80%93Hart_equation float Thermistor::get_temperature() { - float temperature =0, resistance =0; - float steinhart =0; + double temperature =0, resistance =0; + double steinhart =0; double a=0; int smooth = 5; // Number of samples to smooth