adafruit / Adafruit-Raspberry-Pi-Python-Code

Adafruit library code for Raspberry Pi
1.43k stars 686 forks source link

Adafruit_DHT_Driver: Propagate return value of readDHT #73

Closed pl31 closed 10 years ago

pl31 commented 10 years ago

-Invert return value of readDHT (0=success) -Return result of readDHT to executing process

tdicola commented 10 years ago

Thanks for sending the pull request and apologies that it couldn't be reviewed earlier. We've actually deprecated this Adafruit_DHT_Driver code and refactored the DHT sensor reading C code into the Adafruit_Python_DHT library here: https://github.com/adafruit/Adafruit_Python_DHT Thanks again for sending this pull but I'll close it since the new library is the main source for DHT interface code going forward.