Support for dht22 grove temperature and humidity sensor

Dependencies:   DHT mbed

Fork of frdm_Grove_Temp-Humidity_Example by NXP

This repository supports Grove Temperature and Humidity Sensor Pro.

Files at this revision

API Documentation at this revision

Comitter:
Prashant_Dew
Date:
Wed Aug 17 10:45:56 2016 +0000
Parent:
0:9d72427a0730
Commit message:
Commit for dht22 TH Sensor

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 9d72427a0730 -r bc8bfc12d3c4 main.cpp
--- a/main.cpp	Thu Dec 31 22:03:48 2015 +0000
+++ b/main.cpp	Wed Aug 17 10:45:56 2016 +0000
@@ -2,7 +2,7 @@
 #include "mbed.h"
 #include "DHT.h"
 
-DHT sensor(D4, DHT11);
+DHT sensor(D4, DHT22);
 
 int main()
 {