FRDM-K64F example featuring the Seeed Grove Temperature and Humidity sensor

Dependencies:   DHT mbed

Fork of Seeed_Grove_Temp_Humidity_Example by Seeed

The Temperature and Humidity sensor on the Grove module is an Analog DHT11 product

Connect the Grove module to the A0 input of the Seeed Grove Shield V2

To display the Temperature and the Humidity measurement, open an hyperterminal window, select Serial communication and choose the mbed serial port with a 9600 data speed.

Usefull links

More information about the Seeed module and the corresponding mbed component

Files at this revision

API Documentation at this revision

Comitter:
GregC
Date:
Thu Dec 31 00:26:07 2015 +0000
Parent:
1:6bcb143683f3
Commit message:
FRDM-K64F example featuring the Seeed Grove Temperature and Humidity Sensor

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 6bcb143683f3 -r 39e8fc849cb1 main.cpp
--- a/main.cpp	Tue Mar 10 21:33:31 2015 +0000
+++ b/main.cpp	Thu Dec 31 00:26:07 2015 +0000
@@ -2,7 +2,7 @@
 #include "mbed.h"
 #include "DHT.h"
 
-DHT sensor(D4, DHT11);
+DHT sensor(A0, DHT11);
 
 int main()
 {
diff -r 6bcb143683f3 -r 39e8fc849cb1 mbed.bld
--- a/mbed.bld	Tue Mar 10 21:33:31 2015 +0000
+++ b/mbed.bld	Thu Dec 31 00:26:07 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/9327015d4013
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c
\ No newline at end of file