dht20-sensor-0.0.2


توضیحات

A minimal implementation for taking temperature and humidity readings with the DHT20 sensor
ویژگی مقدار
سیستم عامل OS Independent
نام فایل dht20-sensor-0.0.2
نام dht20-sensor
نسخه کتابخانه 0.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Kieran Porter <kieranintehdas@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/dht20-sensor/
مجوز GPL-3.0-or-later
# dht20-sensor Code for taking readings with the DHT20 temperature humidity sensor using I2C. This is the most basic working implementation that suits my needs. It doesn't handle sensor initialisation. ## Example Usage ``` import time from dht20_sensor.sensor import DHT20Sensor if __name__ == "__main__": sensor = DHT20Sensor() while True: t, h = sensor.read() print(t) print(h) time.sleep(2) ```


نیازمندی

مقدار نام
- smbus2


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl dht20-sensor-0.0.2:

    pip install dht20-sensor-0.0.2.whl


نصب پکیج tar.gz dht20-sensor-0.0.2:

    pip install dht20-sensor-0.0.2.tar.gz