Skip to content

matheusamazonas/DHTino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHTino

Arduino library for the DHT22 temperature and humidity sensor

Linux: : Build Status

Installation

For a simple, easy installation download the repository as a zip file and follow the instructions on how to install an Arduino library from a zip file.

Example

The example below is also in the examples folder.

#include <DHTino.h>

DHTino dht(4);

void setup()
{
	Serial.begin(9600);
  while (!Serial) 
  {
  }
  Serial.println("Setup is done");
}

void loop()
{
  delay(2000);
  struct DHTinfo info = dht.getInfo();
  Serial.print("Humidity: ");
  Serial.println(info.humid);
  Serial.print("Temperature: ");
  Serial.println(info.temp);
}

About

Arduino library for the DHT22 temperature and humidity sensor

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy