An eddied version of http://mbed.org/users/crazystick/code/DHT22/ for LPC11U24. All printf statements are removed and features requiring the real time clock are removed.

Dependents:   RHT03_HelloWorld IOT_sensor_nfc CanSat_Alex cansat_alex_v1 ... more

Revision:
2:b07365121071
Parent:
1:2bd5cffd60d0
Child:
3:21ede1fe79b7
--- a/RHT03.h	Tue Aug 28 14:36:18 2012 +0000
+++ b/RHT03.h	Wed Aug 29 10:16:53 2012 +0000
@@ -39,17 +39,30 @@
     RHT_ERROR_TOO_QUICK
 } RHT03_ERROR;
 
-class RHT03 {
+class RHT03
+{
 private:
     time_t  _lastReadTime;
     PinName _data;
     float   _lastHumidity;
     float   _lastTemperature;
 public:
+    /** Configure data pin
+      * @param Data The data pin the RHT03 is attached to
+      */
     RHT03(PinName Data);
     ~RHT03();
+    /** Reads data from the RHT03
+      * @return error type or successful read
+      */
     RHT03_ERROR readData(void);
+    /** Gives current humidity value
+      * @return humidity value
+      */
     float getHumidity();
+    /** Gives current temperature value
+      * @return temperature value
+      */
     float getTemperatureC();
     void clockReset();
 };