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
Hi, forgive me for my bad english. I'm trying to get float values for T° and Humidity from a DHT22 sensor.
I have followed examples:
const temp = readout.temperature.toFixed(2); const hum = readout.humidity.toFixed(2);
But the result is: Temp: 22.50 Hum: 43
If I try to read from Adafruit python:
~ # /opt/Adafruit_Python_DHT/examples/AdafruitDHT.py 22 17 Temp=22.5* Humidity=43.6%
How can I get a float value for Humidity ? Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, forgive me for my bad english. I'm trying to get float values for T° and Humidity from a DHT22 sensor.
I have followed examples:
But the result is:
Temp: 22.50
Hum: 43
If I try to read from Adafruit python:
How can I get a float value for Humidity ? Thanks.
The text was updated successfully, but these errors were encountered: