GY-63_MS5611/libraries/DHT12
2020-11-27 11:10:47 +01:00
..
examples update libraries A-D 2020-11-27 11:10:47 +01:00
DHT12.cpp update libraries A-D 2020-11-27 11:10:47 +01:00
DHT12.h update libraries A-D 2020-11-27 11:10:47 +01:00
keywords.txt update libraries A-D 2020-11-27 11:10:47 +01:00
library.json update libraries A-D 2020-11-27 11:10:47 +01:00
library.properties update libraries A-D 2020-11-27 11:10:47 +01:00
LICENSE update libraries A-D 2020-11-27 11:10:47 +01:00
README.md update libraries A-D 2020-11-27 11:10:47 +01:00

DHT12

Arduino library for I2C DHT12 temperature and humidity sensor.

Description

The library should be initiated by calling the begin() function, optionally with datapin and clockpin for ESP and other platforms.

Thereafter one has to call the read() function to do the actual reading, and with getTemperature() and getHumidity() to get the read values. Calling these latter again will return the same values until a new read() is called.

note

The two members temperature and humidity will become private in the future.

Operation

See examples