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.
Fork of DHT11 by
Revision 2:1e997b7a1f9a, committed 2014-09-10
- Comitter:
- s_inoue_mbed
- Date:
- Wed Sep 10 17:03:41 2014 +0000
- Parent:
- 1:95b80cc3f676
- Child:
- 3:8cd064147bde
- Commit message:
- Error code description was changed from integers to enums.
Changed in this revision
| DHT11.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/DHT11.h Wed Sep 10 15:58:15 2014 +0000
+++ b/DHT11.h Wed Sep 10 17:03:41 2014 +0000
@@ -17,7 +17,7 @@
* {
* int s;
* s = d.readData();
- * if (s != 0) {
+ * if (s != DHT11::OK) {
* printf("Error!\r\n");
* }
* else {
