Skip to content

Files

Latest commit

23afef4 · Sep 20, 2013

History

History

Adafruit_DHT_Driver_Python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 20, 2013
Sep 20, 2013
Sep 20, 2013
Sep 20, 2013

Build dependencies for dhtreader python library

Run following command to build the library:

python setup.py build

After that you should be able to find a dhtreader.so file inside build directory. Put that library file in the same directory with your Python script, then you are good to go.

Usage example:

import dhtreader

type = 22
pin = 24

dhtreader.init()
print dhtreader(type, pin)