cvb

Dependents:   DHT11-HelloWorld1 DHT11-HelloWorld1 STMNucleoF401RE_ExampleCode_08_DHT11

Fork of DHT by Components

Revision:
4:2b642d2b64f8
Parent:
2:df22ddf10d75
--- 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