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.
Dependents: DHT11_Hello_World IBMIoTClientEthernetExample_W5200 AutoPlants PB_Emma_Ethernet ... more
Revision 5:da586c935e88, committed 2014-09-10
- Comitter:
- s_inoue_mbed
- Date:
- Wed Sep 10 17:35:27 2014 +0000
- Parent:
- 4:48798b126d93
- Child:
- 6:257e2ab66d0f
- Commit message:
- Doxygen documentation has been corrected.
Changed in this revision
| DHT11.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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;