Library for reading data from the RHT03 / DHT22 digital humidity & temperature sensor.

Dependents:   Pachube-v2_DHT22 DHT_TEST2 DHT_CANSAT Projeto_Monit_Remoto ... more

Revision:
0:7fd3ff04ae95
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DHT22.h	Thu Oct 27 15:11:06 2011 +0000
@@ -0,0 +1,17 @@
+#ifndef MBED_DHT22_H
+#define MBED_DHT22_H
+
+#include "mbed.h"
+
+class DHT22 {
+private:
+    int _temperature,_humidity;
+    PinName _data_pin;
+public:
+    DHT22(PinName);
+    bool sample();
+    int getTemperature();
+    int getHumidity();
+};
+
+#endif
\ No newline at end of file