szazo / DHT11_Python

Pure Python library for reading DHT11 sensor on Raspberry Pi
MIT License
296 stars 225 forks source link

Decimal place accuracy #13

Closed mountainash closed 4 years ago

mountainash commented 5 years ago

The sensor outputs to the tenth of the recorded values. Accessing these values and adding it to the results.

Also moved the GPIO.cleanup() to the end of the script as having it in the example before setting the instance was causing an error.