A library for DHTxx and SHT3x sensors. Supported devices:
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:
Adafruit Industries software which is governed by the license text in the headers of the corresponding files https://github.com/adafruit/Adafruit_Python_DHT
DHT22 Sensor Driver https://github.com/Filkolev/DHT22-sensor-driver
Your use of the DHT Dart/Native signifies acknowledgement of and agreement to the aforementioned licenses.
dht/ - Dart library
dht_native/ - Native library, includes Adafruit Industries source code
third_party/ DHT22-sensor-driver/ - Linux driver
$ sudo cp libdht_native.so /usr/local/lib/ $ sudo ldconfig
$ sudo insmod dht22_driver.ko gpio=4 autoupdate=1
Simple usage examples see in the dht/example/ folder
Please file feature requests and bugs at the issue tracker.
Add this to your package's pubspec.yaml file:
dependencies: dht: "^0.0.8"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.8||Oct 27, 2017|
|0.0.7||Oct 27, 2017|
|0.0.6||Aug 20, 2017|
|0.0.5||Aug 19, 2017|
|0.0.4||Aug 13, 2017|
|0.0.3||Jul 13, 2017|
|0.0.2||Jul 12, 2017|
|0.0.1||Jul 7, 2017|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, other
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
None of the files in your
example/directory matches a known example patterns. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.20.1 <2.0.0|