This is an example program to fetch data of DHT11 Sensors

Dependencies:   mbed

Fork of DHT11_with_Nucleo by Adatgy2014

Revision:
6:8027edc2b69f
Parent:
5:76a9332af64c
Child:
8:01e3281451e2
--- a/main.cpp	Tue Jan 06 00:54:41 2015 +0000
+++ b/main.cpp	Tue Jan 06 11:16:06 2015 +0000
@@ -50,7 +50,7 @@
             dht_read(); // Call the function
             // Send result through UART result
             for(i=0; i < 40; i++){
-                pc.printf("%d",adat[i]);
+                pc.printf("\n\r%d",adat[i]);
             }
             wait_ms(200); // Wait 0.2 sec till continue.
         } else {