Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: DHT11.h
- Revision:
- 5:da586c935e88
- Parent:
- 4:48798b126d93
- Child:
- 9:056d1e9b428c
--- a/DHT11.h Wed Sep 10 17:18:28 2014 +0000
+++ b/DHT11.h Wed Sep 10 17:35:27 2014 +0000
@@ -44,17 +44,19 @@
* 3: DHT11 does not respond.
* 4: DHT11 is not ready.
* 5: Checksum is incorrect.
- * 6: Timeout
+ * 6: Timeout.
*/
int readData(void);
/** Reading the humidity from the data
- * @return Humidity in % if readData() returns no error. Otherwise, returns 0xffffffff.
+ * @return Humidity in % if readData() returns no error.
+ * Otherwise, returns 0xffffffff.
*/
int readHumidity(void);
/** Reading the temperature from the data
- * @return Temperature in Celcius if readData() returns no error. Otherwise, returns 0xffffffff.
+ * @return Temperature in Celcius if readData() returns no error.
+ * Otherwise, returns 0xffffffff.
*/
int readTemperature(void);
@@ -69,7 +71,6 @@
};
private:
- PinName _pin;
DigitalInOut io;
InterruptIn io_irq;
Timer t;