adafruit/Adafruit-Raspberry-Pi-Python-Code — pull request #53 by nebulans (2013-08-04 17:12:38+00:00)
Title: Adds ctypes wrapper for DHT sensors

Modifies DHT C code to give a read function that returns temp and humidity, and a ctypes python class wrapper for this. Updates the python example code to use this instead of subprocess.

Behaviour of C code unchanged when called from terminal.

Needs testing on DHT11 type sensors, I only have a DHT22.