dht

DHT22/SHT3x humidity and temperature sensor library



Documentation

DHT Dart/Native library

A library for DHTxx and SHT3x sensors. Supported devices:

Copyright notice

Use of the DHT Dart/Native source code is governed by a BSD-style license that can be found in the LICENSE files in corresponding folders.

The Native library uses:

Your use of the DHT Dart/Native signifies acknowledgement of and agreement to the aforementioned licenses.

Content

dht/ - Dart library

dht_native/ - Native library, includes Adafruit Industries source code

third_party/ DHT22-sensor-driver/ - Linux driver

Native lib installation/upgrade

$ sudo cp libdht_native.so /usr/local/lib/ $ sudo ldconfig

Linux driver insertion example (optional)

$ sudo insmod dht22_driver.ko gpio=4 autoupdate=1

Usage

Simple usage examples see in the dht/example/ folder

Features and bugs

Please file feature requests and bugs at the issue tracker.