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: LoRaWAN_mbed_lmic_agriculture_app
Fork of DHT by
Revision 5:e7e3db429c9e, committed 2018-04-11
- Comitter:
- GTsapparellas
- Date:
- Wed Apr 11 19:42:32 2018 +0000
- Parent:
- 4:0c34c98a87ec
- Commit message:
- version 1.0 Commenting
Changed in this revision
| DHT.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/DHT.cpp Mon Apr 02 12:06:29 2018 +0000
+++ b/DHT.cpp Wed Apr 11 19:42:32 2018 +0000
@@ -167,7 +167,8 @@
}
// Uncomment to see the checksum error if it exists
- //pc.printf(" 0x%02x + 0x%02x + 0x%02x + 0x%02x = 0x%02x \n", DHT_data[0], DHT_data[1], DHT_data[2], DHT_data[3], DHT_data[4]);
+ // pc.printf(" 0x%02x + 0x%02x + 0x%02x + 0x%02x = 0x%02x \n", DHT_data[0],
+ // DHT_data[1], DHT_data[2], DHT_data[3], DHT_data[4]);
data_valid = DHT_data[0] + DHT_data[1] + DHT_data[2] + DHT_data[3];
if (DHT_data[4] == data_valid) {
_lastReadTime = currentTime;
