We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using 1.0.3 library Situation: when #include <thermistor.h>
Real Temp: 31.23 °C Using line: thermistor.read();
Expected behavior: return 31.23 Actual behavior : return 312
Problem -- thermistor.cpp
line 76 : int THERMISTOR::read(void) line 127 : return (int)(steinhart * 10);
-- thermistor.h
line 77 : int read(void);
My Fix -- thermistor.cpp
line 76 : float THERMISTOR::read(void) line 127 : return (float)(steinhart);
line 77 : float read(void);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using 1.0.3 library
Situation:
when #include <thermistor.h>
Expected behavior: return 31.23
Actual behavior : return 312
Problem
-- thermistor.cpp
-- thermistor.h
My Fix
-- thermistor.cpp
-- thermistor.h
The text was updated successfully, but these errors were encountered: