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-HelloWorld1 DHT11-HelloWorld1 STMNucleoF401RE_ExampleCode_08_DHT11
Fork of DHT by
Revision 4:2b642d2b64f8, committed 2017-11-27
- Comitter:
- ajeet3004
- Date:
- Mon Nov 27 05:23:38 2017 +0000
- Parent:
- 2:df22ddf10d75
- Commit message:
- sdfgh
Changed in this revision
DHT.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r df22ddf10d75 -r 2b642d2b64f8 DHT.cpp --- a/DHT.cpp Fri Aug 15 20:55:43 2014 +0000 +++ b/DHT.cpp Mon Nov 27 05:23:38 2017 +0000 @@ -33,7 +33,7 @@ #include "DHT.h" #define DHT_DATA_BIT_COUNT 40 - +Serial out1(USBTX,USBRX); DHT::DHT(PinName pin, eType DHTtype) { _pin = pin; @@ -116,6 +116,7 @@ } } DHT_data[i]=b; + out1.printf("data %d",DHT_data[i]); } // uncomment to see the checksum error if it exists