adafruit/DHT-sensor-library


Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors https://learn.adafruit.com/dht

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.adafruit:DHT-sensor-library:'
	}
	dependencies {
		implementation("com.github.adafruit:DHT-sensor-library:")
	}
	<dependency>
	    <groupId>com.github.adafruit</groupId>
	    <artifactId>DHT-sensor-library</artifactId>
	    <version></version>
	</dependency>

                            
    libraryDependencies += "com.github.adafruit" % "DHT-sensor-library" % ""
        
        

                            
    :dependencies [[com.github.adafruit/DHT-sensor-library ""]]
        
        

Readme


DHT sensor library Build Status

Description

An Arduino library for the DHT series of low-cost temperature/humidity sensors.

You can find DHT tutorials here.

Dependencies

Contributing

Contributions are welcome! Not only you’ll encourage the development of the library, but you’ll also learn how to best use the library and probably some C++ too

Please read our Code of Conduct before contributing to help this project stay welcoming.

Documentation and doxygen

Documentation is produced by doxygen. Contributions should include documentation for any new code added.

Some examples of how to use doxygen can be found in these guide pages:

https://learn.adafruit.com/the-well-automated-arduino-library/doxygen

https://learn.adafruit.com/the-well-automated-arduino-library/doxygen-tips

Written by Adafruit Industries based on work by:

  • T. DiCola
  • P. Y. Dragon
  • L. Fried
  • J. Hoffmann
  • M. Kooijman
  • J. M. Dana
  • S. Conaway
  • S. IJskes
  • T. Forbes
  • B. C
  • T. J Myers
  • L. Sørup
  • per1234
  • O. Duffy
  • matthiasdanner
  • J. Lim
  • G. Ambrozio
  • chelmi
  • adams13x13
  • Spacefish
  • I. Scheller
  • C. Miller
  • 7eggert

MIT license, check license.txt for more information All text above must be included in any redistribution

To install, use the Arduino Library Manager and search for "DHT sensor library" and install the library.